@equinor/videx-3d
    Preparing search index...

    Function readDepth

    • Read-back the normalized device coordinates from a depth texture

      Parameters

      • depthTexture: Texture
      • renderer: WebGLRenderer
      • camera: PerspectiveCamera
      • Optionalidx: number

      Returns Promise<number | number[] | null>