Class EXTStencilTwoSide


  • public class EXTStencilTwoSide
    extends java.lang.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 Summary

      Fields 
      Modifier and Type Field Description
      static int GL_ACTIVE_STENCIL_FACE_EXT
      Accepted by the pname parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      static 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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void glActiveStencilFaceEXT​(int face)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • glActiveStencilFaceEXT

        public static void glActiveStencilFaceEXT​(int face)