Package org.lwjgl.opengles
Class EXTClipControl
- java.lang.Object
-
- org.lwjgl.opengles.EXTClipControl
-
public class EXTClipControl extends java.lang.ObjectNative 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 intGL_CLIP_DEPTH_MODE_EXT
GL_CLIP_ORIGIN_EXTAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_LOWER_LEFT_EXTAccepted by theoriginparameter ofClipControlEXT.static intGL_NEGATIVE_ONE_TO_ONE_EXTAccepted by thedepthparameter ofClipControlEXT.static intGL_UPPER_LEFT_EXTAccepted by theoriginparameter ofClipControlEXT.static intGL_ZERO_TO_ONE_EXTAccepted by thedepthparameter ofClipControlEXT.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglClipControlEXT(int origin, int depth)
-
-
-
Field Detail
-
GL_LOWER_LEFT_EXT, GL_UPPER_LEFT_EXT
Accepted by theoriginparameter ofClipControlEXT.
-
GL_NEGATIVE_ONE_TO_ONE_EXT, GL_ZERO_TO_ONE_EXT
Accepted by thedepthparameter ofClipControlEXT.
-
GL_CLIP_ORIGIN_EXT, GL_CLIP_DEPTH_MODE_EXT
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
-
Method Detail
-
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
-
-