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">

23 lines (22 loc) 843 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 the GPU to render graphics. * @category rendering * @ignore */ export declare class GpuGraphicsAdaptor implements GraphicsAdaptor { /** @ignore */ static extension: { readonly type: readonly [ExtensionType.WebGPUPipesAdaptor]; readonly name: "graphics"; }; shader: Shader; private _maxTextures; contextChange(renderer: Renderer): void; execute(graphicsPipe: GraphicsPipe, renderable: Graphics): void; destroy(): void; }