Package org.lwjgl.opengl
Class NVFillRectangle
java.lang.Object
org.lwjgl.opengl.NVFillRectangle
Native bindings to the NV_fill_rectangle extension.
This extension adds a new PolygonMode
setting where a triangle is rasterized by computing and filling its axis-aligned screen-space bounding
box, disregarding the actual triangle edges. This can be useful for drawing a rectangle without being split into two triangles with an internal edge.
It is also useful to minimize the number of primitives that need to be drawn, particularly for a user-interface.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Accepted by themode
parameter of PolygonMode. -
Method Summary
-
Field Details
-
GL_FILL_RECTANGLE_NV
public static final int GL_FILL_RECTANGLE_NVAccepted by themode
parameter of PolygonMode.- See Also:
-