Class ARBVertexShader
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
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static final intReturned by thetypeparameter of GetActiveAttribARB.static final intReturned by thetypeparameter of GetActiveAttribARB.static final intReturned by thetypeparameter of GetActiveAttribARB.static final intReturned by thetypeparameter of GetActiveAttribARB.static final intReturned by thetypeparameter of GetActiveAttribARB.static final intReturned by thetypeparameter of GetActiveAttribARB.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameter GetObjectParameter{if}vARB.static final intAccepted by thepnameparameter GetObjectParameter{if}vARB.static final intAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static final intAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static final intAccepted by thepnameparameter of GetVertexAttribPointervARB.static final intAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static final intAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static final intAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static final intAccepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by theshaderTypeargument of CreateShaderObjectARB and returned by theparamsparameter of GetObjectParameter{if}vARB. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglBindAttribLocationARB(int programObj, int index, CharSequence name) Associates a generic vertex attribute index with a named attribute variable.static voidglBindAttribLocationARB(int programObj, int index, ByteBuffer name) Associates a generic vertex attribute index with a named attribute variable.static voidglDisableVertexAttribArrayARB(int index) Disables a generic vertex attribute array.static voidglEnableVertexAttribArrayARB(int index) Enables a generic vertex attribute array.static voidglGetActiveAttribARB(int programObj, int index, int[] length, int[] size, int[] type, ByteBuffer name) Array version of:GetActiveAttribARBstatic StringglGetActiveAttribARB(int programObj, int index, int maxLength, IntBuffer size, IntBuffer type) Returns information about an active attribute variable for the specified program object.static StringglGetActiveAttribARB(int programObj, int index, IntBuffer size, IntBuffer type) Returns information about an active attribute variable for the specified program object.static voidglGetActiveAttribARB(int programObj, int index, IntBuffer length, IntBuffer size, IntBuffer type, ByteBuffer name) Returns information about an active attribute variable for the specified program object.static intglGetAttribLocationARB(int programObj, CharSequence name) Returns the location of an attribute variable.static intglGetAttribLocationARB(int programObj, ByteBuffer name) Returns the location of an attribute variable.static voidglGetVertexAttribdvARB(int index, int pname, double[] params) Array version of:GetVertexAttribdvARBstatic voidglGetVertexAttribdvARB(int index, int pname, DoubleBuffer params) Double version ofGetVertexAttribivARB.static voidglGetVertexAttribfvARB(int index, int pname, float[] params) Array version of:GetVertexAttribfvARBstatic voidglGetVertexAttribfvARB(int index, int pname, FloatBuffer params) Float version ofGetVertexAttribivARB.static intglGetVertexAttribiARB(int index, int pname) Returns the integer value of a generic vertex attribute parameter.static voidglGetVertexAttribivARB(int index, int pname, int[] params) Array version of:GetVertexAttribivARBstatic voidglGetVertexAttribivARB(int index, int pname, IntBuffer params) Returns the integer value of a generic vertex attribute parameter.static longglGetVertexAttribPointerARB(int index, int pname) Returns the address of the specified generic vertex attribute pointer.static voidglGetVertexAttribPointervARB(int index, int pname, org.lwjgl.PointerBuffer pointer) Returns the address of the specified generic vertex attribute pointer.static voidglVertexAttrib1dARB(int index, double v0) Double version ofVertexAttrib1fARB.static voidglVertexAttrib1dvARB(int index, double[] v) Array version of:VertexAttrib1dvARBstatic voidglVertexAttrib1dvARB(int index, DoubleBuffer v) Pointer version ofVertexAttrib1dARB.static voidglVertexAttrib1fARB(int index, float v0) Specifies the value of a generic vertex attribute.static voidglVertexAttrib1fvARB(int index, float[] v) Array version of:VertexAttrib1fvARBstatic voidglVertexAttrib1fvARB(int index, FloatBuffer v) Pointer version ofVertexAttrib1fARB.static voidglVertexAttrib1sARB(int index, short v0) Short version ofVertexAttrib1fARB.static voidglVertexAttrib1svARB(int index, short[] v) Array version of:VertexAttrib1svARBstatic voidglVertexAttrib1svARB(int index, ShortBuffer v) Pointer version ofVertexAttrib1sARB.static voidglVertexAttrib2dARB(int index, double v0, double v1) Double version ofVertexAttrib2fARB.static voidglVertexAttrib2dvARB(int index, double[] v) Array version of:VertexAttrib2dvARBstatic voidglVertexAttrib2dvARB(int index, DoubleBuffer v) Pointer version ofVertexAttrib2dARB.static voidglVertexAttrib2fARB(int index, float v0, float v1) Specifies the value of a generic vertex attribute.static voidglVertexAttrib2fvARB(int index, float[] v) Array version of:VertexAttrib2fvARBstatic voidglVertexAttrib2fvARB(int index, FloatBuffer v) Pointer version ofVertexAttrib2fARB.static voidglVertexAttrib2sARB(int index, short v0, short v1) Short version ofVertexAttrib2fARB.static voidglVertexAttrib2svARB(int index, short[] v) Array version of:VertexAttrib2svARBstatic voidglVertexAttrib2svARB(int index, ShortBuffer v) Pointer version ofVertexAttrib2sARB.static voidglVertexAttrib3dARB(int index, double v0, double v1, double v2) Double version ofVertexAttrib3fARB.static voidglVertexAttrib3dvARB(int index, double[] v) Array version of:VertexAttrib3dvARBstatic voidglVertexAttrib3dvARB(int index, DoubleBuffer v) Pointer version ofVertexAttrib3dARB.static voidglVertexAttrib3fARB(int index, float v0, float v1, float v2) Specifies the value of a generic vertex attribute.static voidglVertexAttrib3fvARB(int index, float[] v) Array version of:VertexAttrib3fvARBstatic voidglVertexAttrib3fvARB(int index, FloatBuffer v) Pointer version ofVertexAttrib3fARB.static voidglVertexAttrib3sARB(int index, short v0, short v1, short v2) Short version ofVertexAttrib3fARB.static voidglVertexAttrib3svARB(int index, short[] v) Array version of:VertexAttrib3svARBstatic voidglVertexAttrib3svARB(int index, ShortBuffer v) Pointer version ofVertexAttrib3sARB.static voidglVertexAttrib4bvARB(int index, ByteBuffer v) Byte pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4dARB(int index, double v0, double v1, double v2, double v3) Double version ofVertexAttrib4fARB.static voidglVertexAttrib4dvARB(int index, double[] v) Array version of:VertexAttrib4dvARBstatic voidglVertexAttrib4dvARB(int index, DoubleBuffer v) Pointer version ofVertexAttrib4dARB.static voidglVertexAttrib4fARB(int index, float v0, float v1, float v2, float v3) Specifies the value of a generic vertex attribute.static voidglVertexAttrib4fvARB(int index, float[] v) Array version of:VertexAttrib4fvARBstatic voidglVertexAttrib4fvARB(int index, FloatBuffer v) Pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4ivARB(int index, int[] v) Array version of:VertexAttrib4ivARBstatic voidglVertexAttrib4ivARB(int index, IntBuffer v) Integer pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NbvARB(int index, ByteBuffer v) Normalized byte pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NivARB(int index, int[] v) Array version of:VertexAttrib4NivARBstatic voidglVertexAttrib4NivARB(int index, IntBuffer v) Normalized int pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NsvARB(int index, short[] v) Array version of:VertexAttrib4NsvARBstatic voidglVertexAttrib4NsvARB(int index, ShortBuffer v) Normalized short pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w) Normalized unsigned byte version ofVertexAttrib4fARB.static voidglVertexAttrib4NubvARB(int index, ByteBuffer v) Normalized unsigned byte pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NuivARB(int index, int[] v) Array version of:VertexAttrib4NuivARBstatic voidglVertexAttrib4NuivARB(int index, IntBuffer v) Normalized unsigned int pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NusvARB(int index, short[] v) Array version of:VertexAttrib4NusvARBstatic voidglVertexAttrib4NusvARB(int index, ShortBuffer v) Normalized unsigned short pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4sARB(int index, short v0, short v1, short v2, short v3) Short version ofVertexAttrib4fARB.static voidglVertexAttrib4svARB(int index, short[] v) Array version of:VertexAttrib4svARBstatic voidglVertexAttrib4svARB(int index, ShortBuffer v) Pointer version ofVertexAttrib4sARB.static voidglVertexAttrib4ubvARB(int index, ByteBuffer v) Pointer version ofVertexAttrib4NubARB.static voidglVertexAttrib4uivARB(int index, int[] v) Array version of:VertexAttrib4uivARBstatic voidglVertexAttrib4uivARB(int index, IntBuffer v) Unsigned int pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4usvARB(int index, short[] v) Array version of:VertexAttrib4usvARBstatic voidglVertexAttrib4usvARB(int index, ShortBuffer v) Unsigned short pointer version ofVertexAttrib4fARB.static voidglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, float[] pointer) Array version of:VertexAttribPointerARBstatic voidglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, int[] pointer) Array version of:VertexAttribPointerARBstatic voidglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long pointer) Specifies the location and organization of a vertex attribute array.static voidglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, short[] pointer) Array version of:VertexAttribPointerARBstatic voidglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, ByteBuffer pointer) Specifies the location and organization of a vertex attribute array.static voidglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, FloatBuffer pointer) Specifies the location and organization of a vertex attribute array.static voidglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, IntBuffer pointer) Specifies the location and organization of a vertex attribute array.static voidglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, ShortBuffer pointer) Specifies the location and organization of a vertex attribute array.static voidnglBindAttribLocationARB(int programObj, int index, long name) Unsafe version of:BindAttribLocationARBstatic voidnglGetActiveAttribARB(int programObj, int index, int maxLength, long length, long size, long type, long name) Unsafe version of:GetActiveAttribARBstatic intnglGetAttribLocationARB(int programObj, long name) Unsafe version of:GetAttribLocationARBstatic voidnglGetVertexAttribdvARB(int index, int pname, long params) Unsafe version of:GetVertexAttribdvARBstatic voidnglGetVertexAttribfvARB(int index, int pname, long params) Unsafe version of:GetVertexAttribfvARBstatic voidnglGetVertexAttribivARB(int index, int pname, long params) Unsafe version of:GetVertexAttribivARBstatic voidnglGetVertexAttribPointervARB(int index, int pname, long pointer) Unsafe version of:GetVertexAttribPointervARBstatic voidnglVertexAttrib1dvARB(int index, long v) Unsafe version of:VertexAttrib1dvARBstatic voidnglVertexAttrib1fvARB(int index, long v) Unsafe version of:VertexAttrib1fvARBstatic voidnglVertexAttrib1svARB(int index, long v) Unsafe version of:VertexAttrib1svARBstatic voidnglVertexAttrib2dvARB(int index, long v) Unsafe version of:VertexAttrib2dvARBstatic voidnglVertexAttrib2fvARB(int index, long v) Unsafe version of:VertexAttrib2fvARBstatic voidnglVertexAttrib2svARB(int index, long v) Unsafe version of:VertexAttrib2svARBstatic voidnglVertexAttrib3dvARB(int index, long v) Unsafe version of:VertexAttrib3dvARBstatic voidnglVertexAttrib3fvARB(int index, long v) Unsafe version of:VertexAttrib3fvARBstatic voidnglVertexAttrib3svARB(int index, long v) Unsafe version of:VertexAttrib3svARBstatic voidnglVertexAttrib4bvARB(int index, long v) Unsafe version of:VertexAttrib4bvARBstatic voidnglVertexAttrib4dvARB(int index, long v) Unsafe version of:VertexAttrib4dvARBstatic voidnglVertexAttrib4fvARB(int index, long v) Unsafe version of:VertexAttrib4fvARBstatic voidnglVertexAttrib4ivARB(int index, long v) Unsafe version of:VertexAttrib4ivARBstatic voidnglVertexAttrib4NbvARB(int index, long v) Unsafe version of:VertexAttrib4NbvARBstatic voidnglVertexAttrib4NivARB(int index, long v) Unsafe version of:VertexAttrib4NivARBstatic voidnglVertexAttrib4NsvARB(int index, long v) Unsafe version of:VertexAttrib4NsvARBstatic voidnglVertexAttrib4NubvARB(int index, long v) Unsafe version of:VertexAttrib4NubvARBstatic voidnglVertexAttrib4NuivARB(int index, long v) Unsafe version of:VertexAttrib4NuivARBstatic voidnglVertexAttrib4NusvARB(int index, long v) Unsafe version of:VertexAttrib4NusvARBstatic voidnglVertexAttrib4svARB(int index, long v) Unsafe version of:VertexAttrib4svARBstatic voidnglVertexAttrib4ubvARB(int index, long v) Unsafe version of:VertexAttrib4ubvARBstatic voidnglVertexAttrib4uivARB(int index, long v) Unsafe version of:VertexAttrib4uivARBstatic voidnglVertexAttrib4usvARB(int index, long v) Unsafe version of:VertexAttrib4usvARBstatic voidnglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long pointer) Unsafe version of:VertexAttribPointerARB
-
Field Details
-
GL_VERTEX_SHADER_ARB
public static final int GL_VERTEX_SHADER_ARBAccepted by theshaderTypeargument of CreateShaderObjectARB and returned by theparamsparameter of GetObjectParameter{if}vARB.- See Also:
-
GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_MAX_VARYING_FLOATS_ARB
public static final int GL_MAX_VARYING_FLOATS_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_MAX_VERTEX_ATTRIBS_ARB
public static final int GL_MAX_VERTEX_ATTRIBS_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_MAX_TEXTURE_IMAGE_UNITS_ARB
public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_MAX_TEXTURE_COORDS_ARB
public static final int GL_MAX_TEXTURE_COORDS_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_VERTEX_PROGRAM_POINT_SIZE_ARB
public static final int GL_VERTEX_PROGRAM_POINT_SIZE_ARBAccepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_VERTEX_PROGRAM_TWO_SIDE_ARB
public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARBAccepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
public static final int GL_OBJECT_ACTIVE_ATTRIBUTES_ARBAccepted by thepnameparameter GetObjectParameter{if}vARB.- See Also:
-
GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
public static final int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARBAccepted by thepnameparameter GetObjectParameter{if}vARB.- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.- See Also:
-
GL_CURRENT_VERTEX_ATTRIB_ARB
public static final int GL_CURRENT_VERTEX_ATTRIB_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.- See Also:
-
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARBAccepted by thepnameparameter of GetVertexAttribPointervARB.- See Also:
-
GL_FLOAT_VEC2_ARB
public static final int GL_FLOAT_VEC2_ARBReturned by thetypeparameter of GetActiveAttribARB.- See Also:
-
GL_FLOAT_VEC3_ARB
public static final int GL_FLOAT_VEC3_ARBReturned by thetypeparameter of GetActiveAttribARB.- See Also:
-
GL_FLOAT_VEC4_ARB
public static final int GL_FLOAT_VEC4_ARBReturned by thetypeparameter of GetActiveAttribARB.- See Also:
-
GL_FLOAT_MAT2_ARB
public static final int GL_FLOAT_MAT2_ARBReturned by thetypeparameter of GetActiveAttribARB.- See Also:
-
GL_FLOAT_MAT3_ARB
public static final int GL_FLOAT_MAT3_ARBReturned by thetypeparameter of GetActiveAttribARB.- See Also:
-
GL_FLOAT_MAT4_ARB
public static final int GL_FLOAT_MAT4_ARBReturned by thetypeparameter of GetActiveAttribARB.- See Also:
-
-
Method Details
-
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
-
nglVertexAttrib1fvARB
public static void nglVertexAttrib1fvARB(int index, long v) Unsafe version of:VertexAttrib1fvARB -
glVertexAttrib1fvARB
Pointer version ofVertexAttrib1fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib1svARB
public static void nglVertexAttrib1svARB(int index, long v) Unsafe version of:VertexAttrib1svARB -
glVertexAttrib1svARB
Pointer version ofVertexAttrib1sARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib1dvARB
public static void nglVertexAttrib1dvARB(int index, long v) Unsafe version of:VertexAttrib1dvARB -
glVertexAttrib1dvARB
Pointer version ofVertexAttrib1dARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib2fvARB
public static void nglVertexAttrib2fvARB(int index, long v) Unsafe version of:VertexAttrib2fvARB -
glVertexAttrib2fvARB
Pointer version ofVertexAttrib2fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib2svARB
public static void nglVertexAttrib2svARB(int index, long v) Unsafe version of:VertexAttrib2svARB -
glVertexAttrib2svARB
Pointer version ofVertexAttrib2sARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib2dvARB
public static void nglVertexAttrib2dvARB(int index, long v) Unsafe version of:VertexAttrib2dvARB -
glVertexAttrib2dvARB
Pointer version ofVertexAttrib2dARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib3fvARB
public static void nglVertexAttrib3fvARB(int index, long v) Unsafe version of:VertexAttrib3fvARB -
glVertexAttrib3fvARB
Pointer version ofVertexAttrib3fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib3svARB
public static void nglVertexAttrib3svARB(int index, long v) Unsafe version of:VertexAttrib3svARB -
glVertexAttrib3svARB
Pointer version ofVertexAttrib3sARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib3dvARB
public static void nglVertexAttrib3dvARB(int index, long v) Unsafe version of:VertexAttrib3dvARB -
glVertexAttrib3dvARB
Pointer version ofVertexAttrib3dARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4fvARB
public static void nglVertexAttrib4fvARB(int index, long v) Unsafe version of:VertexAttrib4fvARB -
glVertexAttrib4fvARB
Pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4svARB
public static void nglVertexAttrib4svARB(int index, long v) Unsafe version of:VertexAttrib4svARB -
glVertexAttrib4svARB
Pointer version ofVertexAttrib4sARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4dvARB
public static void nglVertexAttrib4dvARB(int index, long v) Unsafe version of:VertexAttrib4dvARB -
glVertexAttrib4dvARB
Pointer version ofVertexAttrib4dARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4ivARB
public static void nglVertexAttrib4ivARB(int index, long v) Unsafe version of:VertexAttrib4ivARB -
glVertexAttrib4ivARB
Integer pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4bvARB
public static void nglVertexAttrib4bvARB(int index, long v) Unsafe version of:VertexAttrib4bvARB -
glVertexAttrib4bvARB
Byte pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4ubvARB
public static void nglVertexAttrib4ubvARB(int index, long v) Unsafe version of:VertexAttrib4ubvARB -
glVertexAttrib4ubvARB
Pointer version ofVertexAttrib4NubARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4usvARB
public static void nglVertexAttrib4usvARB(int index, long v) Unsafe version of:VertexAttrib4usvARB -
glVertexAttrib4usvARB
Unsigned short pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4uivARB
public static void nglVertexAttrib4uivARB(int index, long v) Unsafe version of:VertexAttrib4uivARB -
glVertexAttrib4uivARB
Unsigned int pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4NbvARB
public static void nglVertexAttrib4NbvARB(int index, long v) Unsafe version of:VertexAttrib4NbvARB -
glVertexAttrib4NbvARB
Normalized byte pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4NsvARB
public static void nglVertexAttrib4NsvARB(int index, long v) Unsafe version of:VertexAttrib4NsvARB -
glVertexAttrib4NsvARB
Normalized short pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4NivARB
public static void nglVertexAttrib4NivARB(int index, long v) Unsafe version of:VertexAttrib4NivARB -
glVertexAttrib4NivARB
Normalized int pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4NubvARB
public static void nglVertexAttrib4NubvARB(int index, long v) Unsafe version of:VertexAttrib4NubvARB -
glVertexAttrib4NubvARB
Normalized unsigned byte pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4NusvARB
public static void nglVertexAttrib4NusvARB(int index, long v) Unsafe version of:VertexAttrib4NusvARB -
glVertexAttrib4NusvARB
Normalized unsigned short pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttrib4NuivARB
public static void nglVertexAttrib4NuivARB(int index, long v) Unsafe version of:VertexAttrib4NuivARB -
glVertexAttrib4NuivARB
Normalized unsigned int pointer version ofVertexAttrib4fARB.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer
-
nglVertexAttribPointerARB
public static void nglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long pointer) Unsafe version of:VertexAttribPointerARB -
glVertexAttribPointerARB
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, ByteBuffer 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 BGRAtype- the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXEDnormalized- 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_BUFFERtarget. The initial value is 0.
-
glVertexAttribPointerARB
public 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.- 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 BGRAtype- the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXEDnormalized- 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_BUFFERtarget. The initial value is 0.
-
glVertexAttribPointerARB
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, ShortBuffer 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 BGRAtype- the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXEDnormalized- 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_BUFFERtarget. The initial value is 0.
-
glVertexAttribPointerARB
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, IntBuffer 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 BGRAtype- the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXEDnormalized- 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_BUFFERtarget. The initial value is 0.
-
glVertexAttribPointerARB
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, 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 BGRAtype- the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXEDnormalized- 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_BUFFERtarget. 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
-
nglBindAttribLocationARB
public static void nglBindAttribLocationARB(int programObj, int index, long name) Unsafe version of:BindAttribLocationARB -
glBindAttribLocationARB
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 whichindexis to be bound
-
glBindAttribLocationARB
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 whichindexis to be bound
-
nglGetActiveAttribARB
public static void nglGetActiveAttribARB(int programObj, int index, int maxLength, long length, long size, long type, long name) Unsafe version of:GetActiveAttribARB- Parameters:
maxLength- the maximum number of characters OpenGL is allowed to write in the character buffer indicated byname
-
glGetActiveAttribARB
public static void glGetActiveAttribARB(int programObj, int index, @Nullable IntBuffer length, IntBuffer size, IntBuffer type, 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 thanNULLis 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 String glGetActiveAttribARB(int programObj, int index, int maxLength, IntBuffer size, 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 bynamesize- the size of the attribute variabletype- the data type of the attribute variable
-
glGetActiveAttribARB
public static String glGetActiveAttribARB(int programObj, int index, IntBuffer size, 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
-
nglGetAttribLocationARB
public static int nglGetAttribLocationARB(int programObj, long name) Unsafe version of:GetAttribLocationARB -
glGetAttribLocationARB
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
-
glGetAttribLocationARB
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
-
nglGetVertexAttribivARB
public static void nglGetVertexAttribivARB(int index, int pname, long params) Unsafe version of:GetVertexAttribivARB -
glGetVertexAttribivARB
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:
-
nglGetVertexAttribfvARB
public static void nglGetVertexAttribfvARB(int index, int pname, long params) Unsafe version of:GetVertexAttribfvARB -
glGetVertexAttribfvARB
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
-
nglGetVertexAttribdvARB
public static void nglGetVertexAttribdvARB(int index, int pname, long params) Unsafe version of:GetVertexAttribdvARB -
glGetVertexAttribdvARB
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
-
nglGetVertexAttribPointervARB
public static void nglGetVertexAttribPointervARB(int index, int pname, long pointer) Unsafe version of:GetVertexAttribPointervARB -
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_ARBpointer- 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) Array version of:VertexAttribPointerARB -
glVertexAttribPointerARB
public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, int[] pointer) Array version of:VertexAttribPointerARB -
glVertexAttribPointerARB
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, @Nullable int[] length, int[] size, int[] type, 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
-