Class ARBVertexShader
- java.lang.Object
-
- org.lwjgl.opengl.ARBVertexShader
-
public class ARBVertexShader extends java.lang.ObjectNative 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 intGL_CURRENT_VERTEX_ATTRIB_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static intGL_FLOAT_MAT2_ARB
GL_FLOAT_MAT3_ARB
GL_FLOAT_MAT4_ARB
GL_FLOAT_VEC2_ARB
GL_FLOAT_VEC3_ARB
GL_FLOAT_VEC4_ARBReturned by thetypeparameter of GetActiveAttribARB.static intGL_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 thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
GL_OBJECT_ACTIVE_ATTRIBUTES_ARBAccepted by thepnameparameter GetObjectParameter{if}vARB.static intGL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static intGL_VERTEX_ATTRIB_ARRAY_POINTER_ARBAccepted by thepnameparameter of GetVertexAttribPointervARB.static intGL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
GL_VERTEX_ATTRIB_ARRAY_TYPE_ARBAccepted by thepnameparameter of GetVertexAttrib{dfi}vARB.static intGL_VERTEX_PROGRAM_POINT_SIZE_ARB
GL_VERTEX_PROGRAM_TWO_SIDE_ARBAccepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_VERTEX_SHADER_ARBAccepted by theshaderTypeargument of CreateShaderObjectARB and returned by theparamsparameter of GetObjectParameter{if}vARB.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglBindAttribLocationARB(int programObj, int index, java.nio.ByteBuffer name)Associates a generic vertex attribute index with a named attribute variable.static voidglBindAttribLocationARB(int programObj, int index, java.lang.CharSequence 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, java.nio.ByteBuffer name)Array version of:GetActiveAttribARBstatic java.lang.StringglGetActiveAttribARB(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 voidglGetActiveAttribARB(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.StringglGetActiveAttribARB(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 intglGetAttribLocationARB(int programObj, java.nio.ByteBuffer name)Returns the location of an attribute variable.static intglGetAttribLocationARB(int programObj, java.lang.CharSequence 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, java.nio.DoubleBuffer params)Double version ofGetVertexAttribivARB.static voidglGetVertexAttribfvARB(int index, int pname, float[] params)Array version of:GetVertexAttribfvARBstatic voidglGetVertexAttribfvARB(int index, int pname, java.nio.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, java.nio.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, java.nio.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, java.nio.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, java.nio.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, java.nio.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, java.nio.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, java.nio.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, java.nio.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, java.nio.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, java.nio.ShortBuffer v)Pointer version ofVertexAttrib3sARB.static voidglVertexAttrib4bvARB(int index, java.nio.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, java.nio.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, java.nio.FloatBuffer v)Pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4ivARB(int index, int[] v)Array version of:VertexAttrib4ivARBstatic voidglVertexAttrib4ivARB(int index, java.nio.IntBuffer v)Integer pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NbvARB(int index, java.nio.ByteBuffer v)Normalized byte pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NivARB(int index, int[] v)Array version of:VertexAttrib4NivARBstatic voidglVertexAttrib4NivARB(int index, java.nio.IntBuffer v)Normalized int pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NsvARB(int index, short[] v)Array version of:VertexAttrib4NsvARBstatic voidglVertexAttrib4NsvARB(int index, java.nio.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, java.nio.ByteBuffer v)Normalized unsigned byte pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NuivARB(int index, int[] v)Array version of:VertexAttrib4NuivARBstatic voidglVertexAttrib4NuivARB(int index, java.nio.IntBuffer v)Normalized unsigned int pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4NusvARB(int index, short[] v)Array version of:VertexAttrib4NusvARBstatic voidglVertexAttrib4NusvARB(int index, java.nio.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, java.nio.ShortBuffer v)Pointer version ofVertexAttrib4sARB.static voidglVertexAttrib4ubvARB(int index, java.nio.ByteBuffer v)Pointer version ofVertexAttrib4NubARB.static voidglVertexAttrib4uivARB(int index, int[] v)Array version of:VertexAttrib4uivARBstatic voidglVertexAttrib4uivARB(int index, java.nio.IntBuffer v)Unsigned int pointer version ofVertexAttrib4fARB.static voidglVertexAttrib4usvARB(int index, short[] v)Array version of:VertexAttrib4usvARBstatic voidglVertexAttrib4usvARB(int index, java.nio.ShortBuffer v)Unsigned short pointer version ofVertexAttrib4fARB.static voidglVertexAttribPointerARB(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 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, java.nio.FloatBuffer pointer)Specifies the location and organization of a vertex attribute array.static 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, java.nio.IntBuffer pointer)Specifies the location and organization of a vertex attribute array.static 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, java.nio.ShortBuffer pointer)Specifies the location and organization of a vertex attribute array.
-
-
-
Field Detail
-
GL_VERTEX_SHADER_ARB
Accepted by theshaderTypeargument of CreateShaderObjectARB and returned by theparamsparameter 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 thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_VERTEX_PROGRAM_POINT_SIZE_ARB, GL_VERTEX_PROGRAM_TWO_SIDE_ARB
Accepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_OBJECT_ACTIVE_ATTRIBUTES_ARB, GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
Accepted by thepnameparameter 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 thepnameparameter of GetVertexAttrib{dfi}vARB.
-
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
Accepted by thepnameparameter 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 thetypeparameter 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 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
-
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 whichindexis 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 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 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 bynamesize- 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_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) 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
-
-