Package org.lwjgl.opengles
Class NVPolygonMode
- java.lang.Object
-
- org.lwjgl.opengles.NVPolygonMode
-
public class NVPolygonMode extends java.lang.ObjectNative bindings to the NV_polygon_mode extension.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.
-
-
Field Summary
Fields Modifier and Type Field Description static intGL_FILL_NV
GL_LINE_NV
GL_POINT_NVReturned by GetIntegerv, GetFloatv, and GetInteger64v whenpnameis POLYGON_MODE_NV.static intGL_POLYGON_MODE_NVAccepted by thepnameparameter to GetIntegerv.static intGL_POLYGON_OFFSET_LINE_NV
GL_POLYGON_OFFSET_POINT_NVAccepted by thepnameparameter to IsEnabled.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglPolygonModeNV(int face, int mode)
-
-
-
Field Detail
-
GL_POLYGON_MODE_NV
Accepted by thepnameparameter to GetIntegerv.
-
GL_POLYGON_OFFSET_POINT_NV, GL_POLYGON_OFFSET_LINE_NV
Accepted by thepnameparameter to IsEnabled.
-
GL_POINT_NV, GL_LINE_NV, GL_FILL_NV
Returned by GetIntegerv, GetFloatv, and GetInteger64v whenpnameis POLYGON_MODE_NV.
-
-