Class EXTStencilTwoSide

java.lang.Object
org.lwjgl.opengl.EXTStencilTwoSide

public class EXTStencilTwoSide extends Object
Native bindings to the EXT_stencil_two_side extension.

This extension provides two-sided stencil testing where the stencil-related state (stencil operations, reference value, compare mask, and write mask) may be different for front- and back-facing polygons. Two-sided stencil testing may improve the performance of stenciled shadow volume and Constructive Solid Geometry (CSG) rendering algorithms.

  • Field Details

    • GL_STENCIL_TEST_TWO_SIDE_EXT

      public static final int GL_STENCIL_TEST_TWO_SIDE_EXT
      Accepted by the cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_ACTIVE_STENCIL_FACE_EXT

      public static final int GL_ACTIVE_STENCIL_FACE_EXT
      Accepted by the pname parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
  • Method Details

    • glActiveStencilFaceEXT

      public static void glActiveStencilFaceEXT(int face)