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