/** * A WebGPU helper class implementing custom resolve of multi-sampled textures. * * @ignore */ export class WebgpuResolver { constructor(device: any); /** @type {import('./webgpu-graphics-device.js').WebgpuGraphicsDevice} */ device: import("./webgpu-graphics-device.js").WebgpuGraphicsDevice; /** * Cache of render pipelines for each texture format, to avoid their per frame creation. * * @type {Map} * @private */ private pipelineCache; shader: Shader; destroy(): void; /** @private */ private getPipeline; /** @private */ private createPipeline; /** * @param {GPUCommandEncoder} commandEncoder - Command encoder to use for the resolve. * @param {GPUTexture} sourceTexture - Source multi-sampled depth texture to resolve. * @param {GPUTexture} destinationTexture - Destination depth texture to resolve to. * @private */ private resolveDepth; } import { Shader } from '../shader.js';