Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class NVPolygonMode

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

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

Modifier and TypeField and Description
public static final int
GL_FILL_NV

Returned by GetIntegerv, GetFloatv, and GetInteger64v when pname is POLYGON_MODE_NV.

public static final int
GL_LINE_NV

Returned by GetIntegerv, GetFloatv, and GetInteger64v when pname is POLYGON_MODE_NV.

public static final int
GL_POINT_NV

Returned by GetIntegerv, GetFloatv, and GetInteger64v when pname is POLYGON_MODE_NV.

public static final int
GL_POLYGON_MODE_NV

Accepted by the pname parameter to GetIntegerv.

public static final int
GL_POLYGON_OFFSET_LINE_NV

Accepted by the pname parameter to IsEnabled.

public static final int
GL_POLYGON_OFFSET_POINT_NV

Accepted by the pname parameter to IsEnabled.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glPolygonModeNV(int face, int mode)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_FILL_NVback to summary
public static final int GL_FILL_NV

Returned by GetIntegerv, GetFloatv, and GetInteger64v when pname is POLYGON_MODE_NV.

GL_LINE_NVback to summary
public static final int GL_LINE_NV

Returned by GetIntegerv, GetFloatv, and GetInteger64v when pname is POLYGON_MODE_NV.

GL_POINT_NVback to summary
public static final int GL_POINT_NV

Returned by GetIntegerv, GetFloatv, and GetInteger64v when pname is POLYGON_MODE_NV.

GL_POLYGON_MODE_NVback to summary
public static final int GL_POLYGON_MODE_NV

Accepted by the pname parameter to GetIntegerv.

GL_POLYGON_OFFSET_LINE_NVback to summary
public static final int GL_POLYGON_OFFSET_LINE_NV

Accepted by the pname parameter to IsEnabled.

GL_POLYGON_OFFSET_POINT_NVback to summary
public static final int GL_POLYGON_OFFSET_POINT_NV

Accepted by the pname parameter to IsEnabled.

Constructor Detail

NVPolygonModeback to summary
protected NVPolygonMode()

Method Detail

glPolygonModeNVback to summary
public static native void glPolygonModeNV(int face, int mode)