org.lwjgl.opengles.NVFillRectangle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengles Show documentation
Show all versions of lwjgl-opengles Show documentation
A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengles;
/**
* 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.
*
* Requires {@link NVPolygonMode NV_polygon_mode}.
*/
public final class NVFillRectangle {
public static final int GL_FILL_RECTANGLE_NV = 0x933C;
private NVFillRectangle() {}
}