public class ARBVertexArrayObject
extends java.lang.Object
This extension introduces named vertex array objects which encapsulate vertex array state on the client side. These objects allow applications to rapidly switch between large sets of array state. In addition, layered libraries can return to the default array state by simply creating and binding a new vertex array object.
This extension differs from GL_APPLE_vertex_array_object in that client memory cannot be accessed through a non-zero vertex array object. It also differs in that vertex array objects are explicitly not sharable between contexts.
Promoted to core in OpenGL 3.0.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_VERTEX_ARRAY_BINDING
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glBindVertexArray(int array)
Binds a vertex array object
|
static void |
glDeleteVertexArrays(int array)
Deletes vertex array objects.
|
static void |
glDeleteVertexArrays(int[] arrays)
Array version of:
DeleteVertexArrays |
static void |
glDeleteVertexArrays(java.nio.IntBuffer arrays)
Deletes vertex array objects.
|
static int |
glGenVertexArrays()
Generates vertex array object names.
|
static void |
glGenVertexArrays(int[] arrays)
Array version of:
GenVertexArrays |
static void |
glGenVertexArrays(java.nio.IntBuffer arrays)
Generates vertex array object names.
|
static boolean |
glIsVertexArray(int array)
Determines if a name corresponds to a vertex array object.
|
static void |
nglDeleteVertexArrays(int n,
long arrays)
Unsafe version of:
DeleteVertexArrays |
static void |
nglGenVertexArrays(int n,
long arrays)
Unsafe version of:
GenVertexArrays |
public static final int GL_VERTEX_ARRAY_BINDING
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static void glBindVertexArray(int array)
array - the name of the vertex array to bindpublic static void nglDeleteVertexArrays(int n,
long arrays)
DeleteVertexArraysn - the number of vertex array objects to be deletedpublic static void glDeleteVertexArrays(java.nio.IntBuffer arrays)
arrays - an array containing the n names of the objects to be deletedpublic static void glDeleteVertexArrays(int array)
public static void nglGenVertexArrays(int n,
long arrays)
GenVertexArraysn - the number of vertex array object names to generatepublic static void glGenVertexArrays(java.nio.IntBuffer arrays)
arrays - a buffer in which the generated vertex array object names are storedpublic static int glGenVertexArrays()
public static boolean glIsVertexArray(int array)
array - a value that may be the name of a vertex array objectpublic static void glDeleteVertexArrays(int[] arrays)
DeleteVertexArrayspublic static void glGenVertexArrays(int[] arrays)
GenVertexArraysCopyright LWJGL. All Rights Reserved. License terms.