1234567891011121314151617181920212223 |
- import type { InternalTexture } from "../../Materials/Textures/internalTexture";
- import type { IColor4Like } from "../../Maths/math.like";
- import type { VertexBuffer } from "../../Buffers/buffer";
- import type { Nullable } from "../../types";
- import type { WebGPUEngine } from "../webgpuEngine";
- import "../../ShadersWGSL/clearQuad.vertex";
- import "../../ShadersWGSL/clearQuad.fragment";
- /** @internal */
- export declare class WebGPUClearQuad {
- private _device;
- private _engine;
- private _cacheRenderPipeline;
- private _effect;
- private _bindGroups;
- private _depthTextureFormat;
- private _bundleCache;
- private _keyTemp;
- setDepthStencilFormat(format: GPUTextureFormat | undefined): void;
- setColorFormat(format: GPUTextureFormat | null): void;
- setMRTAttachments(attachments: number[], textureArray: InternalTexture[], textureCount: number): void;
- constructor(device: GPUDevice, engine: WebGPUEngine, emptyVertexBuffer: VertexBuffer);
- clear(renderPass: Nullable<GPURenderPassEncoder>, clearColor?: Nullable<IColor4Like>, clearDepth?: boolean, clearStencil?: boolean, sampleCount?: number): Nullable<GPURenderBundle>;
- }
|