Function createDepthTexture

  • This function creates a GPU texture used in the depth stencil attachment in the render pass descriptor.

    Parameters

    • init: IWebGPUInit

      The IWebGPUInit interface

    • depthFormat: GPUTextureFormat = 'depth24plus'

      GPU texture format, defaulting to 'depth24plus'

    Returns GPUTexture

Generated using TypeDoc