org.lwjgl.opengl.NVVertexArrayRange2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.lwjgl.opengl Show documentation
Show all versions of org.lwjgl.opengl Show documentation
LWJGL OSGi bundle (OpenGL bindings)
/*
* 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_vertex_array_range2 extension.
*
* Enabling and disabling the vertex array range is specified by the original NV_vertex_array_range extension specification to flush the vertex array
* range implicitly. In retrospect, this semantic is extremely misconceived and creates terrible performance problems for any application that wishes to
* mix conventional vertex arrays with vertex arrange range-enabled vertex arrays.
*
* This extension provides a new token for enabling/disabling the vertex array range that does NOT perform an implicit vertex array range flush when the
* enable/disable is performed.
*
* Requires {@link NVVertexArrayRange NV_vertex_array_range}.
*/
public final class NVVertexArrayRange2 {
/** Accepted by the {@code cap} parameter of EnableClientState, DisableClientState. */
public static final int GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV = 0x8533;
private NVVertexArrayRange2() {}
}