All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.NVFillRectangle Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengl;

/**
 * Native bindings to the NV_fill_rectangle extension.
 * 
 * 

This extension adds a new {@link GL11#glPolygonMode 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.

*/ public final class NVFillRectangle { /** Accepted by the {@code mode} parameter of PolygonMode. */ public static final int GL_FILL_RECTANGLE_NV = 0x933C; private NVFillRectangle() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy