UNPKG

pixi.js

Version:

<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">

22 lines (21 loc) 813 B
import { ExtensionType } from '../../../extensions/Extensions'; import { Shader } from '../../../rendering/renderers/shared/shader/Shader'; import { type Renderer } from '../../../rendering/renderers/types'; import type { Graphics } from '../shared/Graphics'; import type { GraphicsAdaptor, GraphicsPipe } from '../shared/GraphicsPipe'; /** * A GraphicsAdaptor that uses WebGL to render graphics. * @category rendering * @ignore */ export declare class GlGraphicsAdaptor implements GraphicsAdaptor { /** @ignore */ static extension: { readonly type: readonly [ExtensionType.WebGLPipesAdaptor]; readonly name: "graphics"; }; shader: Shader; contextChange(renderer: Renderer): void; execute(graphicsPipe: GraphicsPipe, renderable: Graphics): void; destroy(): void; }