Class ARBVertexShader
- java.lang.Object
-
- org.lwjgl.opengl.ARBVertexShader
-
public class ARBVertexShader extends java.lang.Object
Native bindings to the ARB_vertex_shader extension.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
.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_CURRENT_VERTEX_ATTRIB_ARB
Accepted by thepname
parameter of GetVertexAttrib{dfi}vARB.static int
GL_FLOAT_MAT2_ARB
GL_FLOAT_MAT3_ARB
GL_FLOAT_MAT4_ARB
GL_FLOAT_VEC2_ARB
GL_FLOAT_VEC3_ARB
GL_FLOAT_VEC4_ARBReturned by thetype
parameter of GetActiveAttribARB.static int
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
GL_MAX_TEXTURE_COORDS_ARB
GL_MAX_TEXTURE_IMAGE_UNITS_ARB
GL_MAX_VARYING_FLOATS_ARB
GL_MAX_VERTEX_ATTRIBS_ARB
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARBAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
GL_OBJECT_ACTIVE_ATTRIBUTES_ARBAccepted by thepname
parameter GetObjectParameter{if}vARB.static int
GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARBAccepted by thepname
parameter of GetVertexAttrib{dfi}vARB.static int
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
Accepted by thepname
parameter of GetVertexAttribPointervARB.static int
GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
GL_VERTEX_ATTRIB_ARRAY_TYPE_ARBAccepted by thepname
parameter of GetVertexAttrib{dfi}vARB.static int
GL_VERTEX_PROGRAM_POINT_SIZE_ARB
GL_VERTEX_PROGRAM_TWO_SIDE_ARBAccepted by thecap
parameter of Disable, Enable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_VERTEX_SHADER_ARB
Accepted by theshaderType
argument of CreateShaderObjectARB and returned by theparams
parameter of GetObjectParameter{if}vARB.
-
Method Summary
All Methods Static Methods Concrete Methods 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 ofGetVertexAttribivARB
.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 ofGetVertexAttribivARB
.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 ofVertexAttrib1fARB
.static void
glVertexAttrib1dvARB(int index, double[] v)
Array version of:VertexAttrib1dvARB
static void
glVertexAttrib1dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib1dARB
.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 ofVertexAttrib1fARB
.static void
glVertexAttrib1sARB(int index, short v0)
Short version ofVertexAttrib1fARB
.static void
glVertexAttrib1svARB(int index, short[] v)
Array version of:VertexAttrib1svARB
static void
glVertexAttrib1svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib1sARB
.static void
glVertexAttrib2dARB(int index, double v0, double v1)
Double version ofVertexAttrib2fARB
.static void
glVertexAttrib2dvARB(int index, double[] v)
Array version of:VertexAttrib2dvARB
static void
glVertexAttrib2dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib2dARB
.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 ofVertexAttrib2fARB
.static void
glVertexAttrib2sARB(int index, short v0, short v1)
Short version ofVertexAttrib2fARB
.static void
glVertexAttrib2svARB(int index, short[] v)
Array version of:VertexAttrib2svARB
static void
glVertexAttrib2svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib2sARB
.static void
glVertexAttrib3dARB(int index, double v0, double v1, double v2)
Double version ofVertexAttrib3fARB
.static void
glVertexAttrib3dvARB(int index, double[] v)
Array version of:VertexAttrib3dvARB
static void
glVertexAttrib3dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib3dARB
.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 ofVertexAttrib3fARB
.static void
glVertexAttrib3sARB(int index, short v0, short v1, short v2)
Short version ofVertexAttrib3fARB
.static void
glVertexAttrib3svARB(int index, short[] v)
Array version of:VertexAttrib3svARB
static void
glVertexAttrib3svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib3sARB
.static void
glVertexAttrib4bvARB(int index, java.nio.ByteBuffer v)
Byte pointer version ofVertexAttrib4fARB
.static void
glVertexAttrib4dARB(int index, double v0, double v1, double v2, double v3)
Double version ofVertexAttrib4fARB
.static void
glVertexAttrib4dvARB(int index, double[] v)
Array version of:VertexAttrib4dvARB
static void
glVertexAttrib4dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib4dARB
.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 ofVertexAttrib4fARB
.static void
glVertexAttrib4ivARB(int index, int[] v)
Array version of:VertexAttrib4ivARB
static void
glVertexAttrib4ivARB(int index, java.nio.IntBuffer v)
Integer pointer version ofVertexAttrib4fARB
.static void
glVertexAttrib4NbvARB(int index, java.nio.ByteBuffer v)
Normalized byte pointer version ofVertexAttrib4fARB
.static void
glVertexAttrib4NivARB(int index, int[] v)
Array version of:VertexAttrib4NivARB
static void
glVertexAttrib4NivARB(int index, java.nio.IntBuffer v)
Normalized int pointer version ofVertexAttrib4fARB
.static void
glVertexAttrib4NsvARB(int index, short[] v)
Array version of:VertexAttrib4NsvARB
static void
glVertexAttrib4NsvARB(int index, java.nio.ShortBuffer v)
Normalized short pointer version ofVertexAttrib4fARB
.static void
glVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w)
Normalized unsigned byte version ofVertexAttrib4fARB
.static void
glVertexAttrib4NubvARB(int index, java.nio.ByteBuffer v)
Normalized unsigned byte pointer version ofVertexAttrib4fARB
.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 ofVertexAttrib4fARB
.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 ofVertexAttrib4fARB
.static void
glVertexAttrib4sARB(int index, short v0, short v1, short v2, short v3)
Short version ofVertexAttrib4fARB
.static void
glVertexAttrib4svARB(int index, short[] v)
Array version of:VertexAttrib4svARB
static void
glVertexAttrib4svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib4sARB
.static void
glVertexAttrib4ubvARB(int index, java.nio.ByteBuffer v)
Pointer version ofVertexAttrib4NubARB
.static void
glVertexAttrib4uivARB(int index, int[] v)
Array version of:VertexAttrib4uivARB
static void
glVertexAttrib4uivARB(int index, java.nio.IntBuffer v)
Unsigned int pointer version ofVertexAttrib4fARB
.static void
glVertexAttrib4usvARB(int index, short[] v)
Array version of:VertexAttrib4usvARB
static void
glVertexAttrib4usvARB(int index, java.nio.ShortBuffer v)
Unsigned short pointer version ofVertexAttrib4fARB
.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.
-
-
-
Field Detail
-
GL_VERTEX_SHADER_ARB
Accepted by theshaderType
argument of CreateShaderObjectARB and returned by theparams
parameter of GetObjectParameter{if}vARB.
-
GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB, GL_MAX_VARYING_FLOATS_ARB, GL_MAX_VERTEX_ATTRIBS_ARB, GL_MAX_TEXTURE_IMAGE_UNITS_ARB, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB, GL_MAX_TEXTURE_COORDS_ARB
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_VERTEX_PROGRAM_POINT_SIZE_ARB, GL_VERTEX_PROGRAM_TWO_SIDE_ARB
Accepted by thecap
parameter of Disable, Enable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_OBJECT_ACTIVE_ATTRIBUTES_ARB, GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
Accepted by thepname
parameter GetObjectParameter{if}vARB.
-
GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB, GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB, GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB, GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB, GL_CURRENT_VERTEX_ATTRIB_ARB
Accepted by thepname
parameter of GetVertexAttrib{dfi}vARB.
-
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
Accepted by thepname
parameter of GetVertexAttribPointervARB.
-
GL_FLOAT_VEC2_ARB, GL_FLOAT_VEC3_ARB, GL_FLOAT_VEC4_ARB, GL_FLOAT_MAT2_ARB, GL_FLOAT_MAT3_ARB, GL_FLOAT_MAT4_ARB
Returned by thetype
parameter of GetActiveAttribARB.
-
-
Method Detail
-
glVertexAttrib1fARB
public static void glVertexAttrib1fARB(int index, float v0)
Specifies the value of a generic vertex attribute. The y and z components are implicitly set to 0.0f and w to 1.0f.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv0
- the vertex attribute x component
-
glVertexAttrib1sARB
public static void glVertexAttrib1sARB(int index, short v0)
Short version ofVertexAttrib1fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv0
- the vertex attribute x component
-
glVertexAttrib1dARB
public static void glVertexAttrib1dARB(int index, double v0)
Double version ofVertexAttrib1fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv0
- the vertex attribute x component
-
glVertexAttrib2fARB
public static void glVertexAttrib2fARB(int index, float v0, float v1)
Specifies the value of a generic vertex attribute. The y component is implicitly set to 0.0f and w to 1.0f.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv0
- the vertex attribute x componentv1
- the vertex attribute y component
-
glVertexAttrib2sARB
public static void glVertexAttrib2sARB(int index, short v0, short v1)
Short version ofVertexAttrib2fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv0
- the vertex attribute x componentv1
- the vertex attribute y component
-
glVertexAttrib2dARB
public static void glVertexAttrib2dARB(int index, double v0, double v1)
Double version ofVertexAttrib2fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv0
- the vertex attribute x componentv1
- the vertex attribute y component
-
glVertexAttrib3fARB
public static void glVertexAttrib3fARB(int index, float v0, float v1, float v2)
Specifies the value of a generic vertex attribute. The w is implicitly set to 1.0f.- Parameters:
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 component
-
glVertexAttrib3sARB
public static void glVertexAttrib3sARB(int index, short v0, short v1, short v2)
Short version ofVertexAttrib3fARB
.- Parameters:
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 component
-
glVertexAttrib3dARB
public static void glVertexAttrib3dARB(int index, double v0, double v1, double v2)
Double version ofVertexAttrib3fARB
.- Parameters:
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 component
-
glVertexAttrib4fARB
public static void glVertexAttrib4fARB(int index, float v0, float v1, float v2, float v3)
Specifies the value of a generic vertex attribute.- Parameters:
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 component
-
glVertexAttrib4sARB
public static void glVertexAttrib4sARB(int index, short v0, short v1, short v2, short v3)
Short version ofVertexAttrib4fARB
.- Parameters:
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 component
-
glVertexAttrib4dARB
public static void glVertexAttrib4dARB(int index, double v0, double v1, double v2, double v3)
Double version ofVertexAttrib4fARB
.- Parameters:
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 component
-
glVertexAttrib4NubARB
public static void glVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w)
Normalized unsigned byte version ofVertexAttrib4fARB
.- Parameters:
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 component
-
glVertexAttrib1fvARB
public static void glVertexAttrib1fvARB(int index, java.nio.FloatBuffer v)
Pointer version ofVertexAttrib1fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib1svARB
public static void glVertexAttrib1svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib1sARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib1dvARB
public static void glVertexAttrib1dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib1dARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib2fvARB
public static void glVertexAttrib2fvARB(int index, java.nio.FloatBuffer v)
Pointer version ofVertexAttrib2fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib2svARB
public static void glVertexAttrib2svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib2sARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib2dvARB
public static void glVertexAttrib2dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib2dARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib3fvARB
public static void glVertexAttrib3fvARB(int index, java.nio.FloatBuffer v)
Pointer version ofVertexAttrib3fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib3svARB
public static void glVertexAttrib3svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib3sARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib3dvARB
public static void glVertexAttrib3dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib3dARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4fvARB
public static void glVertexAttrib4fvARB(int index, java.nio.FloatBuffer v)
Pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4svARB
public static void glVertexAttrib4svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib4sARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4dvARB
public static void glVertexAttrib4dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib4dARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4ivARB
public static void glVertexAttrib4ivARB(int index, java.nio.IntBuffer v)
Integer pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4bvARB
public static void glVertexAttrib4bvARB(int index, java.nio.ByteBuffer v)
Byte pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4ubvARB
public static void glVertexAttrib4ubvARB(int index, java.nio.ByteBuffer v)
Pointer version ofVertexAttrib4NubARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4usvARB
public static void glVertexAttrib4usvARB(int index, java.nio.ShortBuffer v)
Unsigned short pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4uivARB
public static void glVertexAttrib4uivARB(int index, java.nio.IntBuffer v)
Unsigned int pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4NbvARB
public static void glVertexAttrib4NbvARB(int index, java.nio.ByteBuffer v)
Normalized byte pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4NsvARB
public static void glVertexAttrib4NsvARB(int index, java.nio.ShortBuffer v)
Normalized short pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4NivARB
public static void glVertexAttrib4NivARB(int index, java.nio.IntBuffer v)
Normalized int pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4NubvARB
public static void glVertexAttrib4NubvARB(int index, java.nio.ByteBuffer v)
Normalized unsigned byte pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4NusvARB
public static void glVertexAttrib4NusvARB(int index, java.nio.ShortBuffer v)
Normalized unsigned short pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttrib4NuivARB
public static void glVertexAttrib4NuivARB(int index, java.nio.IntBuffer v)
Normalized unsigned int pointer version ofVertexAttrib4fARB
.- Parameters:
index
- the index of the generic vertex attribute to be modifiedv
- the vertex attribute buffer
-
glVertexAttribPointerARB
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, java.nio.ByteBuffer pointer) public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long pointer) public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, java.nio.ShortBuffer pointer) public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, java.nio.IntBuffer pointer) public 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.- Parameters:
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 theARRAY_BUFFER
target. The initial value is 0.
-
glEnableVertexAttribArrayARB
public static void glEnableVertexAttribArrayARB(int index)
Enables a generic vertex attribute array.- Parameters:
index
- the index of the generic vertex attribute to be enabled
-
glDisableVertexAttribArrayARB
public static void glDisableVertexAttribArrayARB(int index)
Disables a generic vertex attribute array.- Parameters:
index
- the index of the generic vertex attribute to be disabled
-
glBindAttribLocationARB
public static void glBindAttribLocationARB(int programObj, int index, java.nio.ByteBuffer name) public static void glBindAttribLocationARB(int programObj, int index, java.lang.CharSequence name)
Associates a generic vertex attribute index with a named attribute variable.- Parameters:
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 whichindex
is to be bound
-
glGetActiveAttribARB
public 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.- Parameters:
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 byname
(excluding the null terminator) if a value other thanNULL
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 variable
-
glGetActiveAttribARB
public 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.- Parameters:
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 byname
size
- the size of the attribute variabletype
- the data type of the attribute variable
-
glGetActiveAttribARB
public 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.- Parameters:
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 variable
-
glGetAttribLocationARB
public static int glGetAttribLocationARB(int programObj, java.nio.ByteBuffer name) public static int glGetAttribLocationARB(int programObj, java.lang.CharSequence name)
Returns the location of an attribute variable.- Parameters:
programObj
- the program object to be queriedname
- a null terminated string containing the name of the attribute variable whose location is to be queried
-
glGetVertexAttribivARB
public static void glGetVertexAttribivARB(int index, int pname, java.nio.IntBuffer params)
Returns the integer value of a generic vertex attribute parameter.- Parameters:
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 data
-
glGetVertexAttribiARB
public static int glGetVertexAttribiARB(int index, int pname)
Returns the integer value of a generic vertex attribute parameter.- Parameters:
index
- the generic vertex attribute parameter to be queriedpname
- the symbolic name of the vertex attribute parameter to be queried. One of:
-
glGetVertexAttribfvARB
public static void glGetVertexAttribfvARB(int index, int pname, java.nio.FloatBuffer params)
Float version ofGetVertexAttribivARB
.- Parameters:
index
- the generic vertex attribute parameter to be queriedpname
- the symbolic name of the vertex attribute parameter to be queriedparams
- returns the requested data
-
glGetVertexAttribdvARB
public static void glGetVertexAttribdvARB(int index, int pname, java.nio.DoubleBuffer params)
Double version ofGetVertexAttribivARB
.- Parameters:
index
- the generic vertex attribute parameter to be queriedpname
- the symbolic name of the vertex attribute parameter to be queriedparams
- returns the requested data
-
glGetVertexAttribPointervARB
public static void glGetVertexAttribPointervARB(int index, int pname, org.lwjgl.PointerBuffer pointer)
Returns the address of the specified generic vertex attribute pointer.- Parameters:
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 value
-
glGetVertexAttribPointerARB
public static long glGetVertexAttribPointerARB(int index, int pname)
Returns the address of the specified generic vertex attribute pointer.- Parameters:
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
-
glVertexAttrib1fvARB
public static void glVertexAttrib1fvARB(int index, float[] v)
Array version of:VertexAttrib1fvARB
-
glVertexAttrib1svARB
public static void glVertexAttrib1svARB(int index, short[] v)
Array version of:VertexAttrib1svARB
-
glVertexAttrib1dvARB
public static void glVertexAttrib1dvARB(int index, double[] v)
Array version of:VertexAttrib1dvARB
-
glVertexAttrib2fvARB
public static void glVertexAttrib2fvARB(int index, float[] v)
Array version of:VertexAttrib2fvARB
-
glVertexAttrib2svARB
public static void glVertexAttrib2svARB(int index, short[] v)
Array version of:VertexAttrib2svARB
-
glVertexAttrib2dvARB
public static void glVertexAttrib2dvARB(int index, double[] v)
Array version of:VertexAttrib2dvARB
-
glVertexAttrib3fvARB
public static void glVertexAttrib3fvARB(int index, float[] v)
Array version of:VertexAttrib3fvARB
-
glVertexAttrib3svARB
public static void glVertexAttrib3svARB(int index, short[] v)
Array version of:VertexAttrib3svARB
-
glVertexAttrib3dvARB
public static void glVertexAttrib3dvARB(int index, double[] v)
Array version of:VertexAttrib3dvARB
-
glVertexAttrib4fvARB
public static void glVertexAttrib4fvARB(int index, float[] v)
Array version of:VertexAttrib4fvARB
-
glVertexAttrib4svARB
public static void glVertexAttrib4svARB(int index, short[] v)
Array version of:VertexAttrib4svARB
-
glVertexAttrib4dvARB
public static void glVertexAttrib4dvARB(int index, double[] v)
Array version of:VertexAttrib4dvARB
-
glVertexAttrib4ivARB
public static void glVertexAttrib4ivARB(int index, int[] v)
Array version of:VertexAttrib4ivARB
-
glVertexAttrib4usvARB
public static void glVertexAttrib4usvARB(int index, short[] v)
Array version of:VertexAttrib4usvARB
-
glVertexAttrib4uivARB
public static void glVertexAttrib4uivARB(int index, int[] v)
Array version of:VertexAttrib4uivARB
-
glVertexAttrib4NsvARB
public static void glVertexAttrib4NsvARB(int index, short[] v)
Array version of:VertexAttrib4NsvARB
-
glVertexAttrib4NivARB
public static void glVertexAttrib4NivARB(int index, int[] v)
Array version of:VertexAttrib4NivARB
-
glVertexAttrib4NusvARB
public static void glVertexAttrib4NusvARB(int index, short[] v)
Array version of:VertexAttrib4NusvARB
-
glVertexAttrib4NuivARB
public static void glVertexAttrib4NuivARB(int index, int[] v)
Array version of:VertexAttrib4NuivARB
-
glVertexAttribPointerARB
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, short[] pointer) public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, int[] pointer) public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, float[] pointer)
Array version of:VertexAttribPointerARB
-
glGetActiveAttribARB
public static void glGetActiveAttribARB(int programObj, int index, int[] length, int[] size, int[] type, java.nio.ByteBuffer name)
Array version of:GetActiveAttribARB
-
glGetVertexAttribivARB
public static void glGetVertexAttribivARB(int index, int pname, int[] params)
Array version of:GetVertexAttribivARB
-
glGetVertexAttribfvARB
public static void glGetVertexAttribfvARB(int index, int pname, float[] params)
Array version of:GetVertexAttribfvARB
-
glGetVertexAttribdvARB
public static void glGetVertexAttribdvARB(int index, int pname, double[] params)
Array version of:GetVertexAttribdvARB
-
-