Function glClearStencil

  • glClearStencil specifies the index used by glClear to clear the stencil buffer. s is masked with 2แต โˆ’ 1, where ๐ฆ is the number of bits in the stencil buffer.

    Parameters

    • s: number

      Specifies the index used when the stencil buffer is cleared. The initial value is 0.

    Returns void

    Summary

    specify the clear value for the stencil buffer

    See

    glClearStencil

Generated using TypeDoc