Files
nothoughts/node_modules/pixi.js/lib/scene/graphics/gpu/GpuGraphicsAdaptor.d.ts
2025-08-04 18:57:35 +02:00

21 lines
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;
}