Package org.lwjgl.opengles
Class NVPolygonMode
java.lang.Object
org.lwjgl.opengles.NVPolygonMode
Native 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
FieldsModifier and TypeFieldDescriptionstatic final intReturned by GetIntegerv, GetFloatv, and GetInteger64v whenpnameis POLYGON_MODE_NV.static final intReturned by GetIntegerv, GetFloatv, and GetInteger64v whenpnameis POLYGON_MODE_NV.static final intReturned by GetIntegerv, GetFloatv, and GetInteger64v whenpnameis POLYGON_MODE_NV.static final intAccepted by thepnameparameter to GetIntegerv.static final intAccepted by thecapparameter to Enable, Disable, IsEnabled.static final intAccepted by thecapparameter to Enable, Disable, IsEnabled. -
Method Summary
-
Field Details
-
GL_POLYGON_MODE_NV
public static final int GL_POLYGON_MODE_NVAccepted by thepnameparameter to GetIntegerv.- See Also:
-
GL_POLYGON_OFFSET_POINT_NV
public static final int GL_POLYGON_OFFSET_POINT_NVAccepted by thecapparameter to Enable, Disable, IsEnabled.- See Also:
-
GL_POLYGON_OFFSET_LINE_NV
public static final int GL_POLYGON_OFFSET_LINE_NVAccepted by thecapparameter to Enable, Disable, IsEnabled.- See Also:
-
GL_POINT_NV
public static final int GL_POINT_NVReturned by GetIntegerv, GetFloatv, and GetInteger64v whenpnameis POLYGON_MODE_NV.- See Also:
-
GL_LINE_NV
public static final int GL_LINE_NVReturned by GetIntegerv, GetFloatv, and GetInteger64v whenpnameis POLYGON_MODE_NV.- See Also:
-
GL_FILL_NV
public static final int GL_FILL_NVReturned by GetIntegerv, GetFloatv, and GetInteger64v whenpnameis POLYGON_MODE_NV.- See Also:
-
-
Method Details
-
glPolygonModeNV
public static void glPolygonModeNV(int face, int mode)
-