public class ARBVertexShader
extends java.lang.Object
This extension adds programmable vertex level processing to OpenGL. The application can write vertex shaders in a high level language as defined in the OpenGL Shading Language specification. A vertex shader replaces the transformation, texture coordinate generation and lighting parts of OpenGL, and it also adds texture access at the vertex level. Furthermore, management of vertex shader objects and loading generic attributes are discussed. A vertex shader object, attached to a program object, can be compiled and linked to produce an executable that runs on the vertex processor in OpenGL. This extension also defines how such an executable interacts with the fixed functionality vertex processing of OpenGL 1.4.
Promoted to core in OpenGL 2.0.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_CURRENT_VERTEX_ATTRIB_ARB
Accepted by the
pname parameter of GetVertexAttrib{dfi}vARB. |
static int |
GL_FLOAT_MAT2_ARB
Returned by the
type parameter of GetActiveAttribARB. |
static int |
GL_FLOAT_MAT3_ARB
Returned by the
type parameter of GetActiveAttribARB. |
static int |
GL_FLOAT_MAT4_ARB
Returned by the
type parameter of GetActiveAttribARB. |
static int |
GL_FLOAT_VEC2_ARB
Returned by the
type parameter of GetActiveAttribARB. |
static int |
GL_FLOAT_VEC3_ARB
Returned by the
type parameter of GetActiveAttribARB. |
static int |
GL_FLOAT_VEC4_ARB
Returned by the
type parameter of GetActiveAttribARB. |
static int |
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_TEXTURE_COORDS_ARB
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_TEXTURE_IMAGE_UNITS_ARB
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_VARYING_FLOATS_ARB
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_VERTEX_ATTRIBS_ARB
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
Accepted by the
pname parameter GetObjectParameter{if}vARB. |
static int |
GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
Accepted by the
pname parameter GetObjectParameter{if}vARB. |
static int |
GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
Accepted by the
pname parameter of GetVertexAttrib{dfi}vARB. |
static int |
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
Accepted by the
pname parameter of GetVertexAttrib{dfi}vARB. |
static int |
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
Accepted by the
pname parameter of GetVertexAttribPointervARB. |
static int |
GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
Accepted by the
pname parameter of GetVertexAttrib{dfi}vARB. |
static int |
GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
Accepted by the
pname parameter of GetVertexAttrib{dfi}vARB. |
static int |
GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
Accepted by the
pname parameter of GetVertexAttrib{dfi}vARB. |
static int |
GL_VERTEX_PROGRAM_POINT_SIZE_ARB
Accepted by the
cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev. |
static int |
GL_VERTEX_PROGRAM_TWO_SIDE_ARB
Accepted by the
cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev. |
static int |
GL_VERTEX_SHADER_ARB
Accepted by the
shaderType argument of CreateShaderObjectARB and returned by the params parameter of GetObjectParameter{if}vARB. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glBindAttribLocationARB(int programObj,
int index,
java.nio.ByteBuffer name)
Associates a generic vertex attribute index with a named attribute variable.
|
static void |
glBindAttribLocationARB(int programObj,
int index,
java.lang.CharSequence name)
Associates a generic vertex attribute index with a named attribute variable.
|
static void |
glDisableVertexAttribArrayARB(int index)
Disables a generic vertex attribute array.
|
static void |
glEnableVertexAttribArrayARB(int index)
Enables a generic vertex attribute array.
|
static void |
glGetActiveAttribARB(int programObj,
int index,
int[] length,
int[] size,
int[] type,
java.nio.ByteBuffer name)
Array version of:
GetActiveAttribARB |
static java.lang.String |
glGetActiveAttribARB(int programObj,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
Returns information about an active attribute variable for the specified program object.
|
static void |
glGetActiveAttribARB(int programObj,
int index,
java.nio.IntBuffer length,
java.nio.IntBuffer size,
java.nio.IntBuffer type,
java.nio.ByteBuffer name)
Returns information about an active attribute variable for the specified program object.
|
static java.lang.String |
glGetActiveAttribARB(int programObj,
int index,
int maxLength,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
Returns information about an active attribute variable for the specified program object.
|
static int |
glGetAttribLocationARB(int programObj,
java.nio.ByteBuffer name)
Returns the location of an attribute variable.
|
static int |
glGetAttribLocationARB(int programObj,
java.lang.CharSequence name)
Returns the location of an attribute variable.
|
static void |
glGetVertexAttribdvARB(int index,
int pname,
double[] params)
Array version of:
GetVertexAttribdvARB |
static void |
glGetVertexAttribdvARB(int index,
int pname,
java.nio.DoubleBuffer params)
Double version of
GetVertexAttribivARB. |
static void |
glGetVertexAttribfvARB(int index,
int pname,
float[] params)
Array version of:
GetVertexAttribfvARB |
static void |
glGetVertexAttribfvARB(int index,
int pname,
java.nio.FloatBuffer params)
Float version of
GetVertexAttribivARB. |
static int |
glGetVertexAttribiARB(int index,
int pname)
Returns the integer value of a generic vertex attribute parameter.
|
static void |
glGetVertexAttribivARB(int index,
int pname,
int[] params)
Array version of:
GetVertexAttribivARB |
static void |
glGetVertexAttribivARB(int index,
int pname,
java.nio.IntBuffer params)
Returns the integer value of a generic vertex attribute parameter.
|
static long |
glGetVertexAttribPointerARB(int index,
int pname)
Returns the address of the specified generic vertex attribute pointer.
|
static void |
glGetVertexAttribPointervARB(int index,
int pname,
org.lwjgl.PointerBuffer pointer)
Returns the address of the specified generic vertex attribute pointer.
|
static void |
glVertexAttrib1dARB(int index,
double v0)
Double version of
VertexAttrib1fARB. |
static void |
glVertexAttrib1dvARB(int index,
double[] v)
Array version of:
VertexAttrib1dvARB |
static void |
glVertexAttrib1dvARB(int index,
java.nio.DoubleBuffer v)
Pointer version of
VertexAttrib1dARB. |
static void |
glVertexAttrib1fARB(int index,
float v0)
Specifies the value of a generic vertex attribute.
|
static void |
glVertexAttrib1fvARB(int index,
float[] v)
Array version of:
VertexAttrib1fvARB |
static void |
glVertexAttrib1fvARB(int index,
java.nio.FloatBuffer v)
Pointer version of
VertexAttrib1fARB. |
static void |
glVertexAttrib1sARB(int index,
short v0)
Short version of
VertexAttrib1fARB. |
static void |
glVertexAttrib1svARB(int index,
short[] v)
Array version of:
VertexAttrib1svARB |
static void |
glVertexAttrib1svARB(int index,
java.nio.ShortBuffer v)
Pointer version of
VertexAttrib1sARB. |
static void |
glVertexAttrib2dARB(int index,
double v0,
double v1)
Double version of
VertexAttrib2fARB. |
static void |
glVertexAttrib2dvARB(int index,
double[] v)
Array version of:
VertexAttrib2dvARB |
static void |
glVertexAttrib2dvARB(int index,
java.nio.DoubleBuffer v)
Pointer version of
VertexAttrib2dARB. |
static void |
glVertexAttrib2fARB(int index,
float v0,
float v1)
Specifies the value of a generic vertex attribute.
|
static void |
glVertexAttrib2fvARB(int index,
float[] v)
Array version of:
VertexAttrib2fvARB |
static void |
glVertexAttrib2fvARB(int index,
java.nio.FloatBuffer v)
Pointer version of
VertexAttrib2fARB. |
static void |
glVertexAttrib2sARB(int index,
short v0,
short v1)
Short version of
VertexAttrib2fARB. |
static void |
glVertexAttrib2svARB(int index,
short[] v)
Array version of:
VertexAttrib2svARB |
static void |
glVertexAttrib2svARB(int index,
java.nio.ShortBuffer v)
Pointer version of
VertexAttrib2sARB. |
static void |
glVertexAttrib3dARB(int index,
double v0,
double v1,
double v2)
Double version of
VertexAttrib3fARB. |
static void |
glVertexAttrib3dvARB(int index,
double[] v)
Array version of:
VertexAttrib3dvARB |
static void |
glVertexAttrib3dvARB(int index,
java.nio.DoubleBuffer v)
Pointer version of
VertexAttrib3dARB. |
static void |
glVertexAttrib3fARB(int index,
float v0,
float v1,
float v2)
Specifies the value of a generic vertex attribute.
|
static void |
glVertexAttrib3fvARB(int index,
float[] v)
Array version of:
VertexAttrib3fvARB |
static void |
glVertexAttrib3fvARB(int index,
java.nio.FloatBuffer v)
Pointer version of
VertexAttrib3fARB. |
static void |
glVertexAttrib3sARB(int index,
short v0,
short v1,
short v2)
Short version of
VertexAttrib3fARB. |
static void |
glVertexAttrib3svARB(int index,
short[] v)
Array version of:
VertexAttrib3svARB |
static void |
glVertexAttrib3svARB(int index,
java.nio.ShortBuffer v)
Pointer version of
VertexAttrib3sARB. |
static void |
glVertexAttrib4bvARB(int index,
java.nio.ByteBuffer v)
Byte pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4dARB(int index,
double v0,
double v1,
double v2,
double v3)
Double version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4dvARB(int index,
double[] v)
Array version of:
VertexAttrib4dvARB |
static void |
glVertexAttrib4dvARB(int index,
java.nio.DoubleBuffer v)
Pointer version of
VertexAttrib4dARB. |
static void |
glVertexAttrib4fARB(int index,
float v0,
float v1,
float v2,
float v3)
Specifies the value of a generic vertex attribute.
|
static void |
glVertexAttrib4fvARB(int index,
float[] v)
Array version of:
VertexAttrib4fvARB |
static void |
glVertexAttrib4fvARB(int index,
java.nio.FloatBuffer v)
Pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4ivARB(int index,
int[] v)
Array version of:
VertexAttrib4ivARB |
static void |
glVertexAttrib4ivARB(int index,
java.nio.IntBuffer v)
Integer pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4NbvARB(int index,
java.nio.ByteBuffer v)
Normalized byte pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4NivARB(int index,
int[] v)
Array version of:
VertexAttrib4NivARB |
static void |
glVertexAttrib4NivARB(int index,
java.nio.IntBuffer v)
Normalized int pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4NsvARB(int index,
short[] v)
Array version of:
VertexAttrib4NsvARB |
static void |
glVertexAttrib4NsvARB(int index,
java.nio.ShortBuffer v)
Normalized short pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4NubARB(int index,
byte x,
byte y,
byte z,
byte w)
Normalized unsigned byte version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4NubvARB(int index,
java.nio.ByteBuffer v)
Normalized unsigned byte pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4NuivARB(int index,
int[] v)
Array version of:
VertexAttrib4NuivARB |
static void |
glVertexAttrib4NuivARB(int index,
java.nio.IntBuffer v)
Normalized unsigned int pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4NusvARB(int index,
short[] v)
Array version of:
VertexAttrib4NusvARB |
static void |
glVertexAttrib4NusvARB(int index,
java.nio.ShortBuffer v)
Normalized unsigned short pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4sARB(int index,
short v0,
short v1,
short v2,
short v3)
Short version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4svARB(int index,
short[] v)
Array version of:
VertexAttrib4svARB |
static void |
glVertexAttrib4svARB(int index,
java.nio.ShortBuffer v)
Pointer version of
VertexAttrib4sARB. |
static void |
glVertexAttrib4ubvARB(int index,
java.nio.ByteBuffer v)
Pointer version of
VertexAttrib4NubARB. |
static void |
glVertexAttrib4uivARB(int index,
int[] v)
Array version of:
VertexAttrib4uivARB |
static void |
glVertexAttrib4uivARB(int index,
java.nio.IntBuffer v)
Unsigned int pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttrib4usvARB(int index,
short[] v)
Array version of:
VertexAttrib4usvARB |
static void |
glVertexAttrib4usvARB(int index,
java.nio.ShortBuffer v)
Unsigned short pointer version of
VertexAttrib4fARB. |
static void |
glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
float[] pointer)
Array version of:
VertexAttribPointerARB |
static void |
glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.FloatBuffer pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
int[] pointer)
Array version of:
VertexAttribPointerARB |
static void |
glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.IntBuffer pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
long pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
short[] pointer)
Array version of:
VertexAttribPointerARB |
static void |
glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.ShortBuffer pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
nglBindAttribLocationARB(int programObj,
int index,
long name)
Unsafe version of:
BindAttribLocationARB |
static void |
nglGetActiveAttribARB(int programObj,
int index,
int maxLength,
long length,
long size,
long type,
long name)
Unsafe version of:
GetActiveAttribARB |
static int |
nglGetAttribLocationARB(int programObj,
long name)
Unsafe version of:
GetAttribLocationARB |
static void |
nglGetVertexAttribdvARB(int index,
int pname,
long params)
Unsafe version of:
GetVertexAttribdvARB |
static void |
nglGetVertexAttribfvARB(int index,
int pname,
long params)
Unsafe version of:
GetVertexAttribfvARB |
static void |
nglGetVertexAttribivARB(int index,
int pname,
long params)
Unsafe version of:
GetVertexAttribivARB |
static void |
nglGetVertexAttribPointervARB(int index,
int pname,
long pointer)
Unsafe version of:
GetVertexAttribPointervARB |
static void |
nglVertexAttrib1dvARB(int index,
long v)
Unsafe version of:
VertexAttrib1dvARB |
static void |
nglVertexAttrib1fvARB(int index,
long v)
Unsafe version of:
VertexAttrib1fvARB |
static void |
nglVertexAttrib1svARB(int index,
long v)
Unsafe version of:
VertexAttrib1svARB |
static void |
nglVertexAttrib2dvARB(int index,
long v)
Unsafe version of:
VertexAttrib2dvARB |
static void |
nglVertexAttrib2fvARB(int index,
long v)
Unsafe version of:
VertexAttrib2fvARB |
static void |
nglVertexAttrib2svARB(int index,
long v)
Unsafe version of:
VertexAttrib2svARB |
static void |
nglVertexAttrib3dvARB(int index,
long v)
Unsafe version of:
VertexAttrib3dvARB |
static void |
nglVertexAttrib3fvARB(int index,
long v)
Unsafe version of:
VertexAttrib3fvARB |
static void |
nglVertexAttrib3svARB(int index,
long v)
Unsafe version of:
VertexAttrib3svARB |
static void |
nglVertexAttrib4bvARB(int index,
long v)
Unsafe version of:
VertexAttrib4bvARB |
static void |
nglVertexAttrib4dvARB(int index,
long v)
Unsafe version of:
VertexAttrib4dvARB |
static void |
nglVertexAttrib4fvARB(int index,
long v)
Unsafe version of:
VertexAttrib4fvARB |
static void |
nglVertexAttrib4ivARB(int index,
long v)
Unsafe version of:
VertexAttrib4ivARB |
static void |
nglVertexAttrib4NbvARB(int index,
long v)
Unsafe version of:
VertexAttrib4NbvARB |
static void |
nglVertexAttrib4NivARB(int index,
long v)
Unsafe version of:
VertexAttrib4NivARB |
static void |
nglVertexAttrib4NsvARB(int index,
long v)
Unsafe version of:
VertexAttrib4NsvARB |
static void |
nglVertexAttrib4NubvARB(int index,
long v)
Unsafe version of:
VertexAttrib4NubvARB |
static void |
nglVertexAttrib4NuivARB(int index,
long v)
Unsafe version of:
VertexAttrib4NuivARB |
static void |
nglVertexAttrib4NusvARB(int index,
long v)
Unsafe version of:
VertexAttrib4NusvARB |
static void |
nglVertexAttrib4svARB(int index,
long v)
Unsafe version of:
VertexAttrib4svARB |
static void |
nglVertexAttrib4ubvARB(int index,
long v)
Unsafe version of:
VertexAttrib4ubvARB |
static void |
nglVertexAttrib4uivARB(int index,
long v)
Unsafe version of:
VertexAttrib4uivARB |
static void |
nglVertexAttrib4usvARB(int index,
long v)
Unsafe version of:
VertexAttrib4usvARB |
static void |
nglVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
long pointer)
Unsafe version of:
VertexAttribPointerARB |
public static final int GL_VERTEX_SHADER_ARB
shaderType argument of CreateShaderObjectARB and returned by the params parameter of GetObjectParameter{if}vARB.public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_VARYING_FLOATS_ARB
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_VERTEX_ATTRIBS_ARB
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_TEXTURE_COORDS_ARB
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_VERTEX_PROGRAM_POINT_SIZE_ARB
cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev.public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB
cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev.public static final int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
pname parameter GetObjectParameter{if}vARB.public static final int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
pname parameter GetObjectParameter{if}vARB.public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
pname parameter of GetVertexAttrib{dfi}vARB.public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
pname parameter of GetVertexAttrib{dfi}vARB.public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
pname parameter of GetVertexAttrib{dfi}vARB.public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
pname parameter of GetVertexAttrib{dfi}vARB.public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
pname parameter of GetVertexAttrib{dfi}vARB.public static final int GL_CURRENT_VERTEX_ATTRIB_ARB
pname parameter of GetVertexAttrib{dfi}vARB.public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
pname parameter of GetVertexAttribPointervARB.public static final int GL_FLOAT_VEC2_ARB
type parameter of GetActiveAttribARB.public static final int GL_FLOAT_VEC3_ARB
type parameter of GetActiveAttribARB.public static final int GL_FLOAT_VEC4_ARB
type parameter of GetActiveAttribARB.public static final int GL_FLOAT_MAT2_ARB
type parameter of GetActiveAttribARB.public static final int GL_FLOAT_MAT3_ARB
type parameter of GetActiveAttribARB.public static final int GL_FLOAT_MAT4_ARB
type parameter of GetActiveAttribARB.public static void glVertexAttrib1fARB(int index,
float v0)
index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentpublic static void glVertexAttrib1sARB(int index,
short v0)
VertexAttrib1fARB.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentpublic static void glVertexAttrib1dARB(int index,
double v0)
VertexAttrib1fARB.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentpublic static void glVertexAttrib2fARB(int index,
float v0,
float v1)
index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentpublic static void glVertexAttrib2sARB(int index,
short v0,
short v1)
VertexAttrib2fARB.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentpublic static void glVertexAttrib2dARB(int index,
double v0,
double v1)
VertexAttrib2fARB.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentpublic static void glVertexAttrib3fARB(int index,
float v0,
float v1,
float v2)
index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentpublic static void glVertexAttrib3sARB(int index,
short v0,
short v1,
short v2)
VertexAttrib3fARB.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentpublic static void glVertexAttrib3dARB(int index,
double v0,
double v1,
double v2)
VertexAttrib3fARB.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentpublic static void glVertexAttrib4fARB(int index,
float v0,
float v1,
float v2,
float v3)
index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentv3 - the vertex attribute w componentpublic static void glVertexAttrib4sARB(int index,
short v0,
short v1,
short v2,
short v3)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentv3 - the vertex attribute w componentpublic static void glVertexAttrib4dARB(int index,
double v0,
double v1,
double v2,
double v3)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentv3 - the vertex attribute w componentpublic static void glVertexAttrib4NubARB(int index,
byte x,
byte y,
byte z,
byte w)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedx - the vertex attribute x componenty - the vertex attribute y componentz - the vertex attribute z componentw - the vertex attribute w componentpublic static void nglVertexAttrib1fvARB(int index,
long v)
VertexAttrib1fvARBpublic static void glVertexAttrib1fvARB(int index,
java.nio.FloatBuffer v)
VertexAttrib1fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib1svARB(int index,
long v)
VertexAttrib1svARBpublic static void glVertexAttrib1svARB(int index,
java.nio.ShortBuffer v)
VertexAttrib1sARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib1dvARB(int index,
long v)
VertexAttrib1dvARBpublic static void glVertexAttrib1dvARB(int index,
java.nio.DoubleBuffer v)
VertexAttrib1dARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib2fvARB(int index,
long v)
VertexAttrib2fvARBpublic static void glVertexAttrib2fvARB(int index,
java.nio.FloatBuffer v)
VertexAttrib2fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib2svARB(int index,
long v)
VertexAttrib2svARBpublic static void glVertexAttrib2svARB(int index,
java.nio.ShortBuffer v)
VertexAttrib2sARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib2dvARB(int index,
long v)
VertexAttrib2dvARBpublic static void glVertexAttrib2dvARB(int index,
java.nio.DoubleBuffer v)
VertexAttrib2dARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib3fvARB(int index,
long v)
VertexAttrib3fvARBpublic static void glVertexAttrib3fvARB(int index,
java.nio.FloatBuffer v)
VertexAttrib3fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib3svARB(int index,
long v)
VertexAttrib3svARBpublic static void glVertexAttrib3svARB(int index,
java.nio.ShortBuffer v)
VertexAttrib3sARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib3dvARB(int index,
long v)
VertexAttrib3dvARBpublic static void glVertexAttrib3dvARB(int index,
java.nio.DoubleBuffer v)
VertexAttrib3dARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4fvARB(int index,
long v)
VertexAttrib4fvARBpublic static void glVertexAttrib4fvARB(int index,
java.nio.FloatBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4svARB(int index,
long v)
VertexAttrib4svARBpublic static void glVertexAttrib4svARB(int index,
java.nio.ShortBuffer v)
VertexAttrib4sARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4dvARB(int index,
long v)
VertexAttrib4dvARBpublic static void glVertexAttrib4dvARB(int index,
java.nio.DoubleBuffer v)
VertexAttrib4dARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4ivARB(int index,
long v)
VertexAttrib4ivARBpublic static void glVertexAttrib4ivARB(int index,
java.nio.IntBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4bvARB(int index,
long v)
VertexAttrib4bvARBpublic static void glVertexAttrib4bvARB(int index,
java.nio.ByteBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4ubvARB(int index,
long v)
VertexAttrib4ubvARBpublic static void glVertexAttrib4ubvARB(int index,
java.nio.ByteBuffer v)
VertexAttrib4NubARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4usvARB(int index,
long v)
VertexAttrib4usvARBpublic static void glVertexAttrib4usvARB(int index,
java.nio.ShortBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4uivARB(int index,
long v)
VertexAttrib4uivARBpublic static void glVertexAttrib4uivARB(int index,
java.nio.IntBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4NbvARB(int index,
long v)
VertexAttrib4NbvARBpublic static void glVertexAttrib4NbvARB(int index,
java.nio.ByteBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4NsvARB(int index,
long v)
VertexAttrib4NsvARBpublic static void glVertexAttrib4NsvARB(int index,
java.nio.ShortBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4NivARB(int index,
long v)
VertexAttrib4NivARBpublic static void glVertexAttrib4NivARB(int index,
java.nio.IntBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4NubvARB(int index,
long v)
VertexAttrib4NubvARBpublic static void glVertexAttrib4NubvARB(int index,
java.nio.ByteBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4NusvARB(int index,
long v)
VertexAttrib4NusvARBpublic static void glVertexAttrib4NusvARB(int index,
java.nio.ShortBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4NuivARB(int index,
long v)
VertexAttrib4NuivARBpublic static void glVertexAttrib4NuivARB(int index,
java.nio.IntBuffer v)
VertexAttrib4fARB.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
long pointer)
VertexAttribPointerARBpublic static void glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.ByteBuffer pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
long pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.ShortBuffer pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.IntBuffer pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.FloatBuffer pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glEnableVertexAttribArrayARB(int index)
index - the index of the generic vertex attribute to be enabledpublic static void glDisableVertexAttribArrayARB(int index)
index - the index of the generic vertex attribute to be disabledpublic static void nglBindAttribLocationARB(int programObj,
int index,
long name)
BindAttribLocationARBpublic static void glBindAttribLocationARB(int programObj,
int index,
java.nio.ByteBuffer name)
programObj - the handle of the program object in which the association is to be madeindex - the index of the generic vertex attribute to be boundname - a null terminated string containing the name of the vertex shader attribute variable to which index is to be boundpublic static void glBindAttribLocationARB(int programObj,
int index,
java.lang.CharSequence name)
programObj - the handle of the program object in which the association is to be madeindex - the index of the generic vertex attribute to be boundname - a null terminated string containing the name of the vertex shader attribute variable to which index is to be boundpublic static void nglGetActiveAttribARB(int programObj,
int index,
int maxLength,
long length,
long size,
long type,
long name)
GetActiveAttribARBmaxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by namepublic static void glGetActiveAttribARB(int programObj,
int index,
@Nullable
java.nio.IntBuffer length,
java.nio.IntBuffer size,
java.nio.IntBuffer type,
java.nio.ByteBuffer name)
programObj - the program object to be queriedindex - the index of the attribute variable to be queriedlength - the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than
NULL is passedsize - the size of the attribute variabletype - the data type of the attribute variablename - a null terminated string containing the name of the attribute variablepublic static java.lang.String glGetActiveAttribARB(int programObj,
int index,
int maxLength,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
programObj - the program object to be queriedindex - the index of the attribute variable to be queriedmaxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by namesize - the size of the attribute variabletype - the data type of the attribute variablepublic static java.lang.String glGetActiveAttribARB(int programObj,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
programObj - the program object to be queriedindex - the index of the attribute variable to be queriedsize - the size of the attribute variabletype - the data type of the attribute variablepublic static int nglGetAttribLocationARB(int programObj,
long name)
GetAttribLocationARBpublic static int glGetAttribLocationARB(int programObj,
java.nio.ByteBuffer name)
programObj - the program object to be queriedname - a null terminated string containing the name of the attribute variable whose location is to be queriedpublic static int glGetAttribLocationARB(int programObj,
java.lang.CharSequence name)
programObj - the program object to be queriedname - a null terminated string containing the name of the attribute variable whose location is to be queriedpublic static void nglGetVertexAttribivARB(int index,
int pname,
long params)
GetVertexAttribivARBpublic static void glGetVertexAttribivARB(int index,
int pname,
java.nio.IntBuffer params)
index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the vertex attribute parameter to be queried. One of:params - returns the requested datapublic static int glGetVertexAttribiARB(int index,
int pname)
index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the vertex attribute parameter to be queried. One of:public static void nglGetVertexAttribfvARB(int index,
int pname,
long params)
GetVertexAttribfvARBpublic static void glGetVertexAttribfvARB(int index,
int pname,
java.nio.FloatBuffer params)
GetVertexAttribivARB.index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the vertex attribute parameter to be queriedparams - returns the requested datapublic static void nglGetVertexAttribdvARB(int index,
int pname,
long params)
GetVertexAttribdvARBpublic static void glGetVertexAttribdvARB(int index,
int pname,
java.nio.DoubleBuffer params)
GetVertexAttribivARB.index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the vertex attribute parameter to be queriedparams - returns the requested datapublic static void nglGetVertexAttribPointervARB(int index,
int pname,
long pointer)
GetVertexAttribPointervARBpublic static void glGetVertexAttribPointervARB(int index,
int pname,
org.lwjgl.PointerBuffer pointer)
index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the generic vertex attribute parameter to be returned. Must be:VERTEX_ATTRIB_ARRAY_POINTER_ARB |
pointer - the pointer valuepublic static long glGetVertexAttribPointerARB(int index,
int pname)
index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the generic vertex attribute parameter to be returned. Must be:VERTEX_ATTRIB_ARRAY_POINTER_ARB |
public static void glVertexAttrib1fvARB(int index,
float[] v)
VertexAttrib1fvARBpublic static void glVertexAttrib1svARB(int index,
short[] v)
VertexAttrib1svARBpublic static void glVertexAttrib1dvARB(int index,
double[] v)
VertexAttrib1dvARBpublic static void glVertexAttrib2fvARB(int index,
float[] v)
VertexAttrib2fvARBpublic static void glVertexAttrib2svARB(int index,
short[] v)
VertexAttrib2svARBpublic static void glVertexAttrib2dvARB(int index,
double[] v)
VertexAttrib2dvARBpublic static void glVertexAttrib3fvARB(int index,
float[] v)
VertexAttrib3fvARBpublic static void glVertexAttrib3svARB(int index,
short[] v)
VertexAttrib3svARBpublic static void glVertexAttrib3dvARB(int index,
double[] v)
VertexAttrib3dvARBpublic static void glVertexAttrib4fvARB(int index,
float[] v)
VertexAttrib4fvARBpublic static void glVertexAttrib4svARB(int index,
short[] v)
VertexAttrib4svARBpublic static void glVertexAttrib4dvARB(int index,
double[] v)
VertexAttrib4dvARBpublic static void glVertexAttrib4ivARB(int index,
int[] v)
VertexAttrib4ivARBpublic static void glVertexAttrib4usvARB(int index,
short[] v)
VertexAttrib4usvARBpublic static void glVertexAttrib4uivARB(int index,
int[] v)
VertexAttrib4uivARBpublic static void glVertexAttrib4NsvARB(int index,
short[] v)
VertexAttrib4NsvARBpublic static void glVertexAttrib4NivARB(int index,
int[] v)
VertexAttrib4NivARBpublic static void glVertexAttrib4NusvARB(int index,
short[] v)
VertexAttrib4NusvARBpublic static void glVertexAttrib4NuivARB(int index,
int[] v)
VertexAttrib4NuivARBpublic static void glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
short[] pointer)
VertexAttribPointerARBpublic static void glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
int[] pointer)
VertexAttribPointerARBpublic static void glVertexAttribPointerARB(int index,
int size,
int type,
boolean normalized,
int stride,
float[] pointer)
VertexAttribPointerARBpublic static void glGetActiveAttribARB(int programObj,
int index,
@Nullable
int[] length,
int[] size,
int[] type,
java.nio.ByteBuffer name)
GetActiveAttribARBpublic static void glGetVertexAttribivARB(int index,
int pname,
int[] params)
GetVertexAttribivARBpublic static void glGetVertexAttribfvARB(int index,
int pname,
float[] params)
GetVertexAttribfvARBpublic static void glGetVertexAttribdvARB(int index,
int pname,
double[] params)
GetVertexAttribdvARBCopyright LWJGL. All Rights Reserved. License terms.