Function resizeScissor

  • Disables the scissor test.

    Parameters

    • gl: WebGL2RenderingContext

      The rendering context of the scissor box and drawing buffer.

    Returns void

  • Resizes a scissor box to match the given size and enables the scissor test.

    Parameters

    • gl: WebGL2RenderingContext

      The rendering context of the scissor box.

    • x: number

      The horizontal offset of the scissor box.

    • y: number

      The vertical offset of the scissor box.

    • width: number

      The horizontal size of the scissor box.

    • height: number

      The vertical size of the scissor box.

    Returns void

Generated using TypeDoc