@pmndrs/reflections
    Preparing search index...

    Interface DepthPyramidBuilder

    interface DepthPyramidBuilder {
        build(
            cmd: GPUCommandEncoder,
            depth: GPUTexture,
            pyramid: GPUTexture,
            timestampWrites?: GPUComputePassTimestampWrites,
        ): void;
    }
    Index
    • Record the pyramid build for depth (a depth texture or r32float, same size as mip 0) into pyramid (from createDepthPyramidTexture) as one compute pass.

      Parameters

      • cmd: GPUCommandEncoder
      • depth: GPUTexture
      • pyramid: GPUTexture
      • OptionaltimestampWrites: GPUComputePassTimestampWrites

      Returns void