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
Modifier and TypeFieldDescriptionstatic final int
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final int
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final int
Accepted by theorigin
parameter ofClipControlEXT
.static final int
Accepted by thedepth
parameter ofClipControlEXT
.static final int
Accepted by theorigin
parameter ofClipControlEXT
.static final int
Accepted by thedepth
parameter ofClipControlEXT
. -
Method Summary
-
Field Details
-
GL_LOWER_LEFT_EXT
public static final int GL_LOWER_LEFT_EXTAccepted by theorigin
parameter ofClipControlEXT
.- See Also:
-
GL_UPPER_LEFT_EXT
public static final int GL_UPPER_LEFT_EXTAccepted by theorigin
parameter ofClipControlEXT
.- See Also:
-
GL_NEGATIVE_ONE_TO_ONE_EXT
public static final int GL_NEGATIVE_ONE_TO_ONE_EXTAccepted by thedepth
parameter ofClipControlEXT
.- See Also:
-
GL_ZERO_TO_ONE_EXT
public static final int GL_ZERO_TO_ONE_EXTAccepted by thedepth
parameter ofClipControlEXT
.- See Also:
-
GL_CLIP_ORIGIN_EXT
public static final int GL_CLIP_ORIGIN_EXTAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_CLIP_DEPTH_MODE_EXT
public static final int GL_CLIP_DEPTH_MODE_EXTAccepted by thepname
parameter 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_EXT
UPPER_LEFT_EXT
depth
- one of:NEGATIVE_ONE_TO_ONE_EXT
ZERO_TO_ONE_EXT
-