/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/scene/graphics/GraphicsMixins.d.ts
39 строк
1 KB
Krzysztof Sternik
feat: Canvas renderer (#11815)
03 фев 2026, 18:43
Не верифицирован
03 фев 2026, 18:43
c52309f
Код
Авторство
О чём код?
declare global { namespace PixiMixins { interface WebGLSystems { graphicsContext: import('./shared/GraphicsContextSystem').GraphicsContextSystem; } interface WebGPUSystems { graphicsContext: import('./shared/GraphicsContextSystem').GraphicsContextSystem; } interface CanvasSystems { graphicsContext: import('./canvas/CanvasGraphicsContextSystem').CanvasGraphicsContextSystem; } interface CanvasPipes { graphics: import('./canvas/CanvasGraphicsPipe').CanvasGraphicsPipe; } interface WebGLPipes { graphics: import('./shared/GraphicsPipe').GraphicsPipe; } interface WebGPUPipes { graphics: import('./shared/GraphicsPipe').GraphicsPipe; } interface RendererOptions { /** * A value from 0 to 1 that controls the smoothness of bezier curves (the higher the smoother) * @default 0.5 */ bezierSmoothness: number } } } export {};