Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class EXTClipControl

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

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

  1. allow OpenGL to effectively match Direct3D's coordinate system conventions, and
  2. 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 TypeField and Description
public static final int
GL_CLIP_DEPTH_MODE_EXT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_CLIP_ORIGIN_EXT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_LOWER_LEFT_EXT

Accepted by the origin parameter of ClipControlEXT.

public static final int
GL_NEGATIVE_ONE_TO_ONE_EXT

Accepted by the depth parameter of ClipControlEXT.

public static final int
GL_UPPER_LEFT_EXT

Accepted by the origin parameter of ClipControlEXT.

public static final int
GL_ZERO_TO_ONE_EXT

Accepted by the depth parameter of ClipControlEXT.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_CLIP_DEPTH_MODE_EXTback to summary
public static final int GL_CLIP_DEPTH_MODE_EXT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

GL_CLIP_ORIGIN_EXTback to summary
public static final int GL_CLIP_ORIGIN_EXT

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

GL_LOWER_LEFT_EXTback to summary
public static final int GL_LOWER_LEFT_EXT

Accepted by the origin parameter of ClipControlEXT.

GL_NEGATIVE_ONE_TO_ONE_EXTback to summary
public static final int GL_NEGATIVE_ONE_TO_ONE_EXT

Accepted by the depth parameter of ClipControlEXT.

GL_UPPER_LEFT_EXTback to summary
public static final int GL_UPPER_LEFT_EXT

Accepted by the origin parameter of ClipControlEXT.

GL_ZERO_TO_ONE_EXTback to summary
public static final int GL_ZERO_TO_ONE_EXT

Accepted by the depth parameter of ClipControlEXT.

Constructor Detail

EXTClipControlback to summary
protected EXTClipControl()

Method Detail

glClipControlEXTback to summary
public static native void glClipControlEXT(int origin, int depth)
Parameters
origin:int

one of:

LOWER_LEFT_EXTUPPER_LEFT_EXT
depth:int

one of:

NEGATIVE_ONE_TO_ONE_EXTZERO_TO_ONE_EXT