Package org.lwjgl.opengles
Class EXTClipControl
- java.lang.Object
-
- org.lwjgl.opengles.EXTClipControl
-
public class EXTClipControl extends java.lang.Object
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
Fields Modifier and Type Field Description static int
GL_CLIP_DEPTH_MODE_EXT
GL_CLIP_ORIGIN_EXTAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_LOWER_LEFT_EXT
Accepted by theorigin
parameter ofClipControlEXT
.static int
GL_NEGATIVE_ONE_TO_ONE_EXT
Accepted by thedepth
parameter ofClipControlEXT
.static int
GL_UPPER_LEFT_EXT
Accepted by theorigin
parameter ofClipControlEXT
.static int
GL_ZERO_TO_ONE_EXT
Accepted by thedepth
parameter ofClipControlEXT
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
glClipControlEXT(int origin, int depth)
-
-
-
Field Detail
-
GL_LOWER_LEFT_EXT, GL_UPPER_LEFT_EXT
Accepted by theorigin
parameter ofClipControlEXT
.
-
GL_NEGATIVE_ONE_TO_ONE_EXT, GL_ZERO_TO_ONE_EXT
Accepted by thedepth
parameter ofClipControlEXT
.
-
GL_CLIP_ORIGIN_EXT, GL_CLIP_DEPTH_MODE_EXT
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
-
Method Detail
-
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
-
-