pixi.js
Version:
PixiJS — The HTML5 Creation Engine =============
21 lines (20 loc) • 722 B
TypeScript
import { ExtensionType } from '../../../extensions/Extensions';
import { Shader } from '../../../rendering/renderers/shared/shader/Shader';
import type { Graphics } from '../shared/Graphics';
import type { GraphicsAdaptor, GraphicsPipe } from '../shared/GraphicsPipe';
/**
* A GraphicsAdaptor that uses the GPU to render graphics.
* @memberof rendering
* @ignore
*/
export declare class GpuGraphicsAdaptor implements GraphicsAdaptor {
/** @ignore */
static extension: {
readonly type: readonly [ExtensionType.WebGPUPipesAdaptor];
readonly name: "graphics";
};
shader: Shader;
init(): void;
execute(graphicsPipe: GraphicsPipe, renderable: Graphics): void;
destroy(): void;
}