Package org.lwjgl.opengles
Class EXTClipControl
java.lang.Object
org.lwjgl.opengles.EXTClipControl
Native bindings to the EXT_clip_control extension.
This extension provides additional clip control modes to configure how clip space is mapped to window space. This extension's goal is to
- allow OpenGL to effectively match Direct3D's coordinate system conventions, and
- potentially improve the numerical precision of the Z coordinate mapping.
This extension is a port of GL_ARB_clip_control to OpenGL ES. For the complete overview of this extension, refer to the "Overview" section of
GL_ARB_clip_control.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by theoriginparameter ofClipControlEXT.static final intAccepted by thedepthparameter ofClipControlEXT.static final intAccepted by theoriginparameter ofClipControlEXT.static final intAccepted by thedepthparameter ofClipControlEXT. -
Method Summary
-
Field Details
-
GL_LOWER_LEFT_EXT
public static final int GL_LOWER_LEFT_EXTAccepted by theoriginparameter ofClipControlEXT.- See Also:
-
GL_UPPER_LEFT_EXT
public static final int GL_UPPER_LEFT_EXTAccepted by theoriginparameter ofClipControlEXT.- See Also:
-
GL_NEGATIVE_ONE_TO_ONE_EXT
public static final int GL_NEGATIVE_ONE_TO_ONE_EXTAccepted by thedepthparameter ofClipControlEXT.- See Also:
-
GL_ZERO_TO_ONE_EXT
public static final int GL_ZERO_TO_ONE_EXTAccepted by thedepthparameter ofClipControlEXT.- See Also:
-
GL_CLIP_ORIGIN_EXT
public static final int GL_CLIP_ORIGIN_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_CLIP_DEPTH_MODE_EXT
public static final int GL_CLIP_DEPTH_MODE_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
-
Method Details
-
glClipControlEXT
public static void glClipControlEXT(int origin, int depth) - Parameters:
origin- one of:LOWER_LEFT_EXTUPPER_LEFT_EXTdepth- one of:NEGATIVE_ONE_TO_ONE_EXTZERO_TO_ONE_EXT
-