/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/rendering/RenderingMixins.d.ts
98 строк
2 KB
Zyie
feat: add HTML-in-Canvas texture support (#12053)
02 июн 2026, 22:42
Не верифицирован
02 июн 2026, 22:42
b2f8668
Код
Авторство
О чём код?
declare global { namespace PixiMixins { // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface ICanvas { } interface RendererOptions { resolution?: number; failIfMajorPerformanceCaveat?: boolean; roundPixels?: boolean; } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface WebGLOptions { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface WebGPUOptions { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface CanvasOptions { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface RendererSystems { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface WebGLSystems { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface WebGPUSystems { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface CanvasSystems { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface RendererPipes { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface WebGLPipes { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface WebGPUPipes { } // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface CanvasPipes { } /** * Map of resource shapes accepted by `Texture.from` / `TextureSource.from`. Augment from * an opt-in subpath (e.g. `pixi.js/html-source`) to add new branches without coupling * the core to those packages at the runtime level. */ // eslint-disable-next-line @typescript-eslint/no-empty-object-type interface TextureSourceResources { } } } export {};