/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/html-source/HTMLSourceMixins.d.ts
18 строк
524 B
Zyie
feat: add HTML-in-Canvas texture support (#12053)
02 июн 2026, 22:42
Не верифицирован
02 июн 2026, 22:42
b2f8668
Код
Авторство
О чём код?
import type { TextureSourceOptions } from '../rendering/renderers/shared/texture/sources/TextureSource'; import type { ElementImage, HTMLSourceResource } from './HTMLSourceTypes'; declare global { namespace PixiMixins { interface TextureSourceResources { html: HTMLSourceResource; htmlOptions: TextureSourceOptions<HTMLSourceResource>; elementImage: ElementImage; elementImageOptions: TextureSourceOptions<ElementImage>; } } } export {};