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 |
|---|---|
| public static final int | GL_FILL_NV
Returned by GetIntegerv, GetFloatv, and GetInteger64v when |
| public static final int | GL_LINE_NV
Returned by GetIntegerv, GetFloatv, and GetInteger64v when |
| public static final int | GL_POINT_NV
Returned by GetIntegerv, GetFloatv, and GetInteger64v when |
| public static final int | GL_POLYGON_MODE_NV
Accepted by the |
| public static final int | GL_POLYGON_OFFSET_LINE_NV
Accepted by the |
| public static final int | GL_POLYGON_OFFSET_POINT_NV
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native void |
| GL_FILL_NV | back to summary |
|---|---|
| public static final int GL_FILL_NV Returned by GetIntegerv, GetFloatv, and GetInteger64v when | |
| GL_LINE_NV | back to summary |
|---|---|
| public static final int GL_LINE_NV Returned by GetIntegerv, GetFloatv, and GetInteger64v when | |
| GL_POINT_NV | back to summary |
|---|---|
| public static final int GL_POINT_NV Returned by GetIntegerv, GetFloatv, and GetInteger64v when | |
| GL_POLYGON_MODE_NV | back to summary |
|---|---|
| public static final int GL_POLYGON_MODE_NV Accepted by the | |
| GL_POLYGON_OFFSET_LINE_NV | back to summary |
|---|---|
| public static final int GL_POLYGON_OFFSET_LINE_NV Accepted by the | |
| GL_POLYGON_OFFSET_POINT_NV | back to summary |
|---|---|
| public static final int GL_POLYGON_OFFSET_POINT_NV Accepted by the | |
| NVPolygonMode | back to summary |
|---|---|
| protected NVPolygonMode() | |
| glPolygonModeNV | back to summary |
|---|---|
| public static native void glPolygonModeNV(int face, int mode) | |