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.
Promoted to core in OpenGL 4..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_CLIP_DEPTH_MODE
Accepted by the |
| public static final int | GL_CLIP_ORIGIN
Accepted by the |
| public static final int | GL_LOWER_LEFT
Accepted by the |
| public static final int | GL_NEGATIVE_ONE_TO_ONE
Accepted by the |
| public static final int | GL_UPPER_LEFT
Accepted by the |
| public static final int | GL_ZERO_TO_ONE
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | ||||
|---|---|---|---|---|---|
| public static void | glClipControl(int
the clip origin. One of: origin, int
the clip depth mode. One of: depth)
Controls the clipping volume behavior. |
| GL_CLIP_DEPTH_MODE | back to summary |
|---|---|
| public static final int GL_CLIP_DEPTH_MODE Accepted by the | |
| GL_CLIP_ORIGIN | back to summary |
|---|---|
| public static final int GL_CLIP_ORIGIN Accepted by the | |
| GL_LOWER_LEFT | back to summary |
|---|---|
| public static final int GL_LOWER_LEFT Accepted by the | |
| GL_NEGATIVE_ONE_TO_ONE | back to summary |
|---|---|
| public static final int GL_NEGATIVE_ONE_TO_ONE Accepted by the | |
| GL_UPPER_LEFT | back to summary |
|---|---|
| public static final int GL_UPPER_LEFT Accepted by the | |
| GL_ZERO_TO_ONE | back to summary |
|---|---|
| public static final int GL_ZERO_TO_ONE Accepted by the | |
| ARBClipControl | back to summary |
|---|---|
| protected ARBClipControl() | |
| glClipControl | back to summary | ||||
|---|---|---|---|---|---|
| public static void glClipControl(int origin, int depth) Controls the clipping volume behavior. These parameters update the clip control origin and depth mode respectively. The initial value of the clip control origin is The error
| |||||