Top Description Fields Constructors Methods
org.lwjgl.opengl

public final Class NVFillRectangle

extends Object
Class Inheritance

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 TypeField and Description
public static final int
GL_FILL_RECTANGLE_NV

Accepted by the mode parameter of PolygonMode.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_FILL_RECTANGLE_NVback to summary
public static final int GL_FILL_RECTANGLE_NV

Accepted by the mode parameter of PolygonMode.

Constructor Detail

NVFillRectangleback to summary
private NVFillRectangle()