Function glClearDepth

  • glClearDepth specifies the depth value used by glClear to clear the depth buffer. Values specified by glClearDepth are clamped to the range [0,1].

    Parameters

    • depth: number

      Specifies the depth value used when the depth buffer is cleared. The initial value is 1.

    Returns void

    Summary

    specify the clear value for the depth buffer

    See

    glClearDepth

Generated using TypeDoc