Class ARBVertexShader

java.lang.Object
org.lwjgl.opengl.ARBVertexShader

public class ARBVertexShader extends 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 Details

    • GL_VERTEX_SHADER_ARB

      public static final int GL_VERTEX_SHADER_ARB
      Accepted by the shaderType argument of CreateShaderObjectARB and returned by the params parameter of GetObjectParameter{if}vARB.
      See Also:
    • GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB

      public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_VARYING_FLOATS_ARB

      public static final int GL_MAX_VARYING_FLOATS_ARB
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_VERTEX_ATTRIBS_ARB

      public static final int GL_MAX_VERTEX_ATTRIBS_ARB
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_TEXTURE_IMAGE_UNITS_ARB

      public static final int GL_MAX_TEXTURE_IMAGE_UNITS_ARB
      Accepted by the pname parameter 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_ARB
      Accepted by the pname parameter 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_ARB
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_MAX_TEXTURE_COORDS_ARB

      public static final int GL_MAX_TEXTURE_COORDS_ARB
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_VERTEX_PROGRAM_POINT_SIZE_ARB

      public static final int GL_VERTEX_PROGRAM_POINT_SIZE_ARB
      Accepted by the cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_VERTEX_PROGRAM_TWO_SIDE_ARB

      public static final int GL_VERTEX_PROGRAM_TWO_SIDE_ARB
      Accepted by the cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_OBJECT_ACTIVE_ATTRIBUTES_ARB

      public static final int GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
      Accepted by the pname parameter GetObjectParameter{if}vARB.
      See Also:
    • GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB

      public static final int GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
      Accepted by the pname parameter GetObjectParameter{if}vARB.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB

      public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
      Accepted by the pname parameter of GetVertexAttrib{dfi}vARB.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB

      public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
      Accepted by the pname parameter of GetVertexAttrib{dfi}vARB.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB

      public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
      Accepted by the pname parameter of GetVertexAttrib{dfi}vARB.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB

      public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
      Accepted by the pname parameter of GetVertexAttrib{dfi}vARB.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB

      public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
      Accepted by the pname parameter of GetVertexAttrib{dfi}vARB.
      See Also:
    • GL_CURRENT_VERTEX_ATTRIB_ARB

      public static final int GL_CURRENT_VERTEX_ATTRIB_ARB
      Accepted by the pname parameter of GetVertexAttrib{dfi}vARB.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB

      public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
      Accepted by the pname parameter of GetVertexAttribPointervARB.
      See Also:
    • GL_FLOAT_VEC2_ARB

      public static final int GL_FLOAT_VEC2_ARB
      Returned by the type parameter of GetActiveAttribARB.
      See Also:
    • GL_FLOAT_VEC3_ARB

      public static final int GL_FLOAT_VEC3_ARB
      Returned by the type parameter of GetActiveAttribARB.
      See Also:
    • GL_FLOAT_VEC4_ARB

      public static final int GL_FLOAT_VEC4_ARB
      Returned by the type parameter of GetActiveAttribARB.
      See Also:
    • GL_FLOAT_MAT2_ARB

      public static final int GL_FLOAT_MAT2_ARB
      Returned by the type parameter of GetActiveAttribARB.
      See Also:
    • GL_FLOAT_MAT3_ARB

      public static final int GL_FLOAT_MAT3_ARB
      Returned by the type parameter of GetActiveAttribARB.
      See Also:
    • GL_FLOAT_MAT4_ARB

      public static final int GL_FLOAT_MAT4_ARB
      Returned by the type parameter 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 modified
      v0 - the vertex attribute x component
    • glVertexAttrib1sARB

      public static void glVertexAttrib1sARB(int index, short v0)
      Short version of VertexAttrib1fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
    • glVertexAttrib1dARB

      public static void glVertexAttrib1dARB(int index, double v0)
      Double version of VertexAttrib1fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - 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 modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
    • glVertexAttrib2sARB

      public static void glVertexAttrib2sARB(int index, short v0, short v1)
      Short version of VertexAttrib2fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
    • glVertexAttrib2dARB

      public static void glVertexAttrib2dARB(int index, double v0, double v1)
      Double version of VertexAttrib2fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - 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 modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
    • glVertexAttrib3sARB

      public static void glVertexAttrib3sARB(int index, short v0, short v1, short v2)
      Short version of VertexAttrib3fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
    • glVertexAttrib3dARB

      public static void glVertexAttrib3dARB(int index, double v0, double v1, double v2)
      Double version of VertexAttrib3fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - 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 modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      v3 - the vertex attribute w component
    • glVertexAttrib4sARB

      public static void glVertexAttrib4sARB(int index, short v0, short v1, short v2, short v3)
      Short version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      v3 - the vertex attribute w component
    • glVertexAttrib4dARB

      public static void glVertexAttrib4dARB(int index, double v0, double v1, double v2, double v3)
      Double version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      v3 - the vertex attribute w component
    • glVertexAttrib4NubARB

      public static void glVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w)
      Normalized unsigned byte version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      x - the vertex attribute x component
      y - the vertex attribute y component
      z - the vertex attribute z component
      w - the vertex attribute w component
    • nglVertexAttrib1fvARB

      public static void nglVertexAttrib1fvARB(int index, long v)
      Unsafe version of: VertexAttrib1fvARB
    • glVertexAttrib1fvARB

      public static void glVertexAttrib1fvARB(int index, FloatBuffer v)
      Pointer version of VertexAttrib1fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib1svARB

      public static void nglVertexAttrib1svARB(int index, long v)
      Unsafe version of: VertexAttrib1svARB
    • glVertexAttrib1svARB

      public static void glVertexAttrib1svARB(int index, ShortBuffer v)
      Pointer version of VertexAttrib1sARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib1dvARB

      public static void nglVertexAttrib1dvARB(int index, long v)
      Unsafe version of: VertexAttrib1dvARB
    • glVertexAttrib1dvARB

      public static void glVertexAttrib1dvARB(int index, DoubleBuffer v)
      Pointer version of VertexAttrib1dARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib2fvARB

      public static void nglVertexAttrib2fvARB(int index, long v)
      Unsafe version of: VertexAttrib2fvARB
    • glVertexAttrib2fvARB

      public static void glVertexAttrib2fvARB(int index, FloatBuffer v)
      Pointer version of VertexAttrib2fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib2svARB

      public static void nglVertexAttrib2svARB(int index, long v)
      Unsafe version of: VertexAttrib2svARB
    • glVertexAttrib2svARB

      public static void glVertexAttrib2svARB(int index, ShortBuffer v)
      Pointer version of VertexAttrib2sARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib2dvARB

      public static void nglVertexAttrib2dvARB(int index, long v)
      Unsafe version of: VertexAttrib2dvARB
    • glVertexAttrib2dvARB

      public static void glVertexAttrib2dvARB(int index, DoubleBuffer v)
      Pointer version of VertexAttrib2dARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib3fvARB

      public static void nglVertexAttrib3fvARB(int index, long v)
      Unsafe version of: VertexAttrib3fvARB
    • glVertexAttrib3fvARB

      public static void glVertexAttrib3fvARB(int index, FloatBuffer v)
      Pointer version of VertexAttrib3fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib3svARB

      public static void nglVertexAttrib3svARB(int index, long v)
      Unsafe version of: VertexAttrib3svARB
    • glVertexAttrib3svARB

      public static void glVertexAttrib3svARB(int index, ShortBuffer v)
      Pointer version of VertexAttrib3sARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib3dvARB

      public static void nglVertexAttrib3dvARB(int index, long v)
      Unsafe version of: VertexAttrib3dvARB
    • glVertexAttrib3dvARB

      public static void glVertexAttrib3dvARB(int index, DoubleBuffer v)
      Pointer version of VertexAttrib3dARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4fvARB

      public static void nglVertexAttrib4fvARB(int index, long v)
      Unsafe version of: VertexAttrib4fvARB
    • glVertexAttrib4fvARB

      public static void glVertexAttrib4fvARB(int index, FloatBuffer v)
      Pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4svARB

      public static void nglVertexAttrib4svARB(int index, long v)
      Unsafe version of: VertexAttrib4svARB
    • glVertexAttrib4svARB

      public static void glVertexAttrib4svARB(int index, ShortBuffer v)
      Pointer version of VertexAttrib4sARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4dvARB

      public static void nglVertexAttrib4dvARB(int index, long v)
      Unsafe version of: VertexAttrib4dvARB
    • glVertexAttrib4dvARB

      public static void glVertexAttrib4dvARB(int index, DoubleBuffer v)
      Pointer version of VertexAttrib4dARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4ivARB

      public static void nglVertexAttrib4ivARB(int index, long v)
      Unsafe version of: VertexAttrib4ivARB
    • glVertexAttrib4ivARB

      public static void glVertexAttrib4ivARB(int index, IntBuffer v)
      Integer pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4bvARB

      public static void nglVertexAttrib4bvARB(int index, long v)
      Unsafe version of: VertexAttrib4bvARB
    • glVertexAttrib4bvARB

      public static void glVertexAttrib4bvARB(int index, ByteBuffer v)
      Byte pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4ubvARB

      public static void nglVertexAttrib4ubvARB(int index, long v)
      Unsafe version of: VertexAttrib4ubvARB
    • glVertexAttrib4ubvARB

      public static void glVertexAttrib4ubvARB(int index, ByteBuffer v)
      Pointer version of VertexAttrib4NubARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4usvARB

      public static void nglVertexAttrib4usvARB(int index, long v)
      Unsafe version of: VertexAttrib4usvARB
    • glVertexAttrib4usvARB

      public static void glVertexAttrib4usvARB(int index, ShortBuffer v)
      Unsigned short pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4uivARB

      public static void nglVertexAttrib4uivARB(int index, long v)
      Unsafe version of: VertexAttrib4uivARB
    • glVertexAttrib4uivARB

      public static void glVertexAttrib4uivARB(int index, IntBuffer v)
      Unsigned int pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4NbvARB

      public static void nglVertexAttrib4NbvARB(int index, long v)
      Unsafe version of: VertexAttrib4NbvARB
    • glVertexAttrib4NbvARB

      public static void glVertexAttrib4NbvARB(int index, ByteBuffer v)
      Normalized byte pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4NsvARB

      public static void nglVertexAttrib4NsvARB(int index, long v)
      Unsafe version of: VertexAttrib4NsvARB
    • glVertexAttrib4NsvARB

      public static void glVertexAttrib4NsvARB(int index, ShortBuffer v)
      Normalized short pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4NivARB

      public static void nglVertexAttrib4NivARB(int index, long v)
      Unsafe version of: VertexAttrib4NivARB
    • glVertexAttrib4NivARB

      public static void glVertexAttrib4NivARB(int index, IntBuffer v)
      Normalized int pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4NubvARB

      public static void nglVertexAttrib4NubvARB(int index, long v)
      Unsafe version of: VertexAttrib4NubvARB
    • glVertexAttrib4NubvARB

      public static void glVertexAttrib4NubvARB(int index, ByteBuffer v)
      Normalized unsigned byte pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4NusvARB

      public static void nglVertexAttrib4NusvARB(int index, long v)
      Unsafe version of: VertexAttrib4NusvARB
    • glVertexAttrib4NusvARB

      public static void glVertexAttrib4NusvARB(int index, ShortBuffer v)
      Normalized unsigned short pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - the vertex attribute buffer
    • nglVertexAttrib4NuivARB

      public static void nglVertexAttrib4NuivARB(int index, long v)
      Unsafe version of: VertexAttrib4NuivARB
    • glVertexAttrib4NuivARB

      public static void glVertexAttrib4NuivARB(int index, IntBuffer v)
      Normalized unsigned int pointer version of VertexAttrib4fARB.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v - 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 modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
    • 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 modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
    • 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 modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
    • 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 modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
    • 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 modified
      size - the number of values per vertex that are stored in the array. The initial value is 4. One of:
      1234BGRA
      type - the data type of each component in the array. The initial value is GL_FLOAT. One of:
      BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
      DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
      normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
      stride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
      pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
    • 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

      public static void glBindAttribLocationARB(int programObj, int index, ByteBuffer 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 made
      index - the index of the generic vertex attribute to be bound
      name - a null terminated string containing the name of the vertex shader attribute variable to which index is to be bound
    • glBindAttribLocationARB

      public static void glBindAttribLocationARB(int programObj, int index, 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 made
      index - the index of the generic vertex attribute to be bound
      name - a null terminated string containing the name of the vertex shader attribute variable to which index is 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 by name
    • 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 queried
      index - the index of the attribute variable to be queried
      length - the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passed
      size - the size of the attribute variable
      type - the data type of the attribute variable
      name - 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 queried
      index - the index of the attribute variable to be queried
      maxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by name
      size - the size of the attribute variable
      type - 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 queried
      index - the index of the attribute variable to be queried
      size - the size of the attribute variable
      type - the data type of the attribute variable
    • nglGetAttribLocationARB

      public static int nglGetAttribLocationARB(int programObj, long name)
      Unsafe version of: GetAttribLocationARB
    • glGetAttribLocationARB

      public static int glGetAttribLocationARB(int programObj, ByteBuffer name)
      Returns the location of an attribute variable.
      Parameters:
      programObj - the program object to be queried
      name - a null terminated string containing the name of the attribute variable whose location is to be queried
    • glGetAttribLocationARB

      public static int glGetAttribLocationARB(int programObj, CharSequence name)
      Returns the location of an attribute variable.
      Parameters:
      programObj - the program object to be queried
      name - 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

      public static void glGetVertexAttribivARB(int index, int pname, IntBuffer params)
      Returns the integer value of a generic vertex attribute parameter.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried. One of:
      VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGVERTEX_ATTRIB_ARRAY_ENABLED_ARB
      VERTEX_ATTRIB_ARRAY_SIZE_ARBVERTEX_ATTRIB_ARRAY_STRIDE_ARB
      VERTEX_ATTRIB_ARRAY_TYPE_ARBVERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
      CURRENT_VERTEX_ATTRIB_ARBVERTEX_ATTRIB_ARRAY_INTEGER
      VERTEX_ATTRIB_ARRAY_DIVISOR
      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 queried
      pname - the symbolic name of the vertex attribute parameter to be queried. One of:
      VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGVERTEX_ATTRIB_ARRAY_ENABLED_ARB
      VERTEX_ATTRIB_ARRAY_SIZE_ARBVERTEX_ATTRIB_ARRAY_STRIDE_ARB
      VERTEX_ATTRIB_ARRAY_TYPE_ARBVERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
      CURRENT_VERTEX_ATTRIB_ARBVERTEX_ATTRIB_ARRAY_INTEGER
      VERTEX_ATTRIB_ARRAY_DIVISOR
    • nglGetVertexAttribfvARB

      public static void nglGetVertexAttribfvARB(int index, int pname, long params)
      Unsafe version of: GetVertexAttribfvARB
    • glGetVertexAttribfvARB

      public static void glGetVertexAttribfvARB(int index, int pname, FloatBuffer params)
      Float version of GetVertexAttribivARB.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried
      params - returns the requested data
    • nglGetVertexAttribdvARB

      public static void nglGetVertexAttribdvARB(int index, int pname, long params)
      Unsafe version of: GetVertexAttribdvARB
    • glGetVertexAttribdvARB

      public static void glGetVertexAttribdvARB(int index, int pname, DoubleBuffer params)
      Double version of GetVertexAttribivARB.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried
      params - 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 queried
      pname - 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 queried
      pname - 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