public class NVPolygonMode
extends java.lang.Object
This extension adds a PolygonModeNV entry point which can be used to change the polygon rasterization method. Using this extension, state consistent with rendering triangle primitives can trivially be toggled to render primitives as lines or points. In addition, independent enables are provided for polygon offset in conjunction with these new point and line polygon modes.
This introduces a level of support for PolygonMode comparable with the OpenGL 4.3 core profile.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_FILL_NV
Returned by GetIntegerv, GetFloatv, and GetInteger64v when
pname is POLYGON_MODE_NV. |
static int |
GL_LINE_NV
Returned by GetIntegerv, GetFloatv, and GetInteger64v when
pname is POLYGON_MODE_NV. |
static int |
GL_POINT_NV
Returned by GetIntegerv, GetFloatv, and GetInteger64v when
pname is POLYGON_MODE_NV. |
static int |
GL_POLYGON_MODE_NV
Accepted by the
pname parameter to GetIntegerv. |
static int |
GL_POLYGON_OFFSET_LINE_NV
Accepted by the
pname parameter to IsEnabled. |
static int |
GL_POLYGON_OFFSET_POINT_NV
Accepted by the
pname parameter to IsEnabled. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glPolygonModeNV(int face,
int mode) |
public static final int GL_POLYGON_MODE_NV
pname parameter to GetIntegerv.public static final int GL_POLYGON_OFFSET_POINT_NV
pname parameter to IsEnabled.public static final int GL_POLYGON_OFFSET_LINE_NV
pname parameter to IsEnabled.public static final int GL_POINT_NV
pname is POLYGON_MODE_NV.public static final int GL_LINE_NV
pname is POLYGON_MODE_NV.public static final int GL_FILL_NV
pname is POLYGON_MODE_NV.Copyright LWJGL. All Rights Reserved. License terms.