Package org.lwjgl.opengl
Class EXTStencilTwoSide
java.lang.Object
org.lwjgl.opengl.EXTStencilTwoSide
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
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. -
Method Summary
-
Field Details
-
GL_STENCIL_TEST_TWO_SIDE_EXT
public static final int GL_STENCIL_TEST_TWO_SIDE_EXTAccepted by thecapparameter of Enable, Disable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_ACTIVE_STENCIL_FACE_EXT
public static final int GL_ACTIVE_STENCIL_FACE_EXTAccepted by thepnameparameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
-
Method Details
-
glActiveStencilFaceEXT
public static void glActiveStencilFaceEXT(int face)
-