Unextended OpenGL mandates a certain set of configurable per-vertex computations defining vertex transformation, texture coordinate generation and
transformation, and lighting. Several extensions have added further per-vertex computations to OpenGL. For example, extensions have defined new texture
coordinate generation modes (ARB_texture_cube_map, NV_texgen_reflection, NV_texgen_emboss), new vertex
transformation modes (ARB_vertex_blend, EXT_vertex_weighting), new lighting modes (OpenGL 1.2's separate specular and
rescale normal functionality), several modes for fog distance generation (NV_fog_distance), and eye-distance point size attenuation
(ARB_point_parameters).
Each such extension adds a small set of relatively inflexible per-vertex computations.
This inflexibility is in contrast to the typical flexibility provided by the underlying programmable floating point engines (whether micro-coded vertex engines, DSPs, or CPUs) that are traditionally used to implement OpenGL's per-vertex computations. The purpose of this extension is to expose to the OpenGL application writer a significant degree of per-vertex programmability for computing vertex parameters.
For the purposes of discussing this extension, a vertex program is a sequence of floating-point 4-component vector operations that determines how a set
of program parameters (defined outside of OpenGL's Begin/End pair) and an input set of per-vertex parameters are transformed to a set of
per-vertex result parameters.
The per-vertex computations for standard OpenGL given a particular set of lighting and texture coordinate generation modes (along with any state for extensions defining per-vertex computations) is, in essence, a vertex program. However, the sequence of operations is defined implicitly by the current OpenGL state settings rather than defined explicitly as a sequence of instructions.
This extension provides an explicit mechanism for defining vertex program instruction sequences for application-defined vertex programs. In order to define such vertex programs, this extension defines a vertex programming model including a floating-point 4-component vector instruction set and a relatively large set of floating-point 4-component registers.
The extension's vertex programming model is designed for efficient hardware implementation and to support a wide variety of vertex programs. By design, the entire set of existing vertex programs defined by existing OpenGL per-vertex computation extensions can be implemented using the extension's vertex programming model.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_COLOR_SUM_ARB
Accepted by the |
| public static final int | GL_CURRENT_MATRIX_ARB
Accepted by the |
| public static final int | GL_CURRENT_MATRIX_STACK_DEPTH_ARB
Accepted by the |
| public static final int | GL_CURRENT_VERTEX_ATTRIB_ARB
Accepted by the |
| public static final int | GL_MATRIX0_ARB
Accepted by the |
| public static final int | GL_MATRIX10_ARB
Accepted by the |
| public static final int | GL_MATRIX11_ARB
Accepted by the |
| public static final int | GL_MATRIX12_ARB
Accepted by the |
| public static final int | GL_MATRIX13_ARB
Accepted by the |
| public static final int | GL_MATRIX14_ARB
Accepted by the |
| public static final int | GL_MATRIX15_ARB
Accepted by the |
| public static final int | GL_MATRIX16_ARB
Accepted by the |
| public static final int | GL_MATRIX17_ARB
Accepted by the |
| public static final int | GL_MATRIX18_ARB
Accepted by the |
| public static final int | GL_MATRIX19_ARB
Accepted by the |
| public static final int | GL_MATRIX1_ARB
Accepted by the |
| public static final int | GL_MATRIX20_ARB
Accepted by the |
| public static final int | GL_MATRIX21_ARB
Accepted by the |
| public static final int | GL_MATRIX22_ARB
Accepted by the |
| public static final int | GL_MATRIX23_ARB
Accepted by the |
| public static final int | GL_MATRIX24_ARB
Accepted by the |
| public static final int | GL_MATRIX25_ARB
Accepted by the |
| public static final int | GL_MATRIX26_ARB
Accepted by the |
| public static final int | GL_MATRIX27_ARB
Accepted by the |
| public static final int | GL_MATRIX28_ARB
Accepted by the |
| public static final int | GL_MATRIX29_ARB
Accepted by the |
| public static final int | GL_MATRIX2_ARB
Accepted by the |
| public static final int | GL_MATRIX30_ARB
Accepted by the |
| public static final int | GL_MATRIX31_ARB
Accepted by the |
| public static final int | GL_MATRIX3_ARB
Accepted by the |
| public static final int | GL_MATRIX4_ARB
Accepted by the |
| public static final int | GL_MATRIX5_ARB
Accepted by the |
| public static final int | GL_MATRIX6_ARB
Accepted by the |
| public static final int | GL_MATRIX7_ARB
Accepted by the |
| public static final int | GL_MATRIX8_ARB
Accepted by the |
| public static final int | GL_MATRIX9_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_ATTRIBS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_INSTRUCTIONS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_MATRICES_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_PARAMETERS_ARB
Accepted by the |
| public static final int | GL_MAX_PROGRAM_TEMPORARIES_ARB
Accepted by the |
| public static final int | GL_MAX_VERTEX_ATTRIBS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_ADDRESS_REGISTERS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_ATTRIBS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_BINDING_ARB
Accepted by the |
| public static final int | GL_PROGRAM_ERROR_POSITION_ARB
Accepted by the |
| public static final int | GL_PROGRAM_ERROR_STRING_ARB
Accepted by the |
| public static final int | GL_PROGRAM_FORMAT_ARB
Accepted by the |
| public static final int | GL_PROGRAM_FORMAT_ASCII_ARB
Accepted by the |
| public static final int | GL_PROGRAM_INSTRUCTIONS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_LENGTH_ARB
Accepted by the |
| public static final int | GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_NATIVE_ATTRIBS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_NATIVE_PARAMETERS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_NATIVE_TEMPORARIES_ARB
Accepted by the |
| public static final int | GL_PROGRAM_PARAMETERS_ARB
Accepted by the |
| public static final int | GL_PROGRAM_STRING_ARB
Accepted by the |
| public static final int | GL_PROGRAM_TEMPORARIES_ARB
Accepted by the |
| public static final int | GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
Accepted by the |
| public static final int | GL_TRANSPOSE_CURRENT_MATRIX_ARB
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
Accepted by the |
| public static final int | GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
Accepted by the |
| public static final int | GL_VERTEX_PROGRAM_ARB
Accepted by the |
| public static final int | GL_VERTEX_PROGRAM_POINT_SIZE_ARB
Accepted by the |
| public static final int | GL_VERTEX_PROGRAM_TWO_SIDE_ARB
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static native void | glBindProgramARB(int
the program target. One of: target, int
the program object to bind. If program)program is zero, the default program object for target is bound. If program is the name of
an existing program object whose associated program target is target, the named program object is bound.Creates a named program object by binding an unused program object name to a valid program target. | |||||||||||||||||
| public static void | glDeleteProgramsARB(IntBuffer
an array of programs)n program objects to be deletedDeletes program objects. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glDisableVertexAttribArrayARB(int
the index of the generic vertex attribute to be disabled index)Disables a generic vertex attribute array. | |||||||||||||||||
| public static void | glEnableVertexAttribArrayARB(int
the index of the generic vertex attribute to be enabled index)Enables a generic vertex attribute array. | |||||||||||||||||
| public static void | glGenProgramsARB(IntBuffer
an array in which to return the generated program names programs)Returns | |||||||||||||||||
| public static int | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glGetProgramEnvParameterdvARB(int
the program target. One of: target, int
the environment parameter index index, DoubleBuffer a buffer in which to place the current parameter value params)Double version of | |||||||||||||||||
| public static void | glGetProgramEnvParameterdvARB(int target, int index, double[] params)
Array version of: | |||||||||||||||||
| public static void | glGetProgramEnvParameterfvARB(int
the program target. One of: target, int
the environment parameter index index, FloatBuffer a buffer in which to place the current parameter value params)Obtain the current value for the program environment parameter numbered | |||||||||||||||||
| public static void | glGetProgramEnvParameterfvARB(int target, int index, float[] params)
Array version of: | |||||||||||||||||
| public static int | glGetProgramiARB(int
the program target. One of: target, int
the parameter to query. One of: pname)Obtains program state for the program target | |||||||||||||||||
| public static void | glGetProgramivARB(int
the program target. One of: target, int
the parameter to query. One of: pname, IntBuffer an array in which to place the parameter value params)Obtains program state for the program target | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glGetProgramLocalParameterdvARB(int
the program target. One of: target, int
the environment parameter index index, DoubleBuffer a buffer in which to place the current parameter value params)Double version of | |||||||||||||||||
| public static void | glGetProgramLocalParameterdvARB(int target, int index, double[] params)
Array version of: | |||||||||||||||||
| public static void | glGetProgramLocalParameterfvARB(int
the program target. One of: target, int
the environment parameter index index, FloatBuffer a buffer in which to place the current parameter value params)Obtain the current value for the program local parameter numbered | |||||||||||||||||
| public static void | glGetProgramLocalParameterfvARB(int target, int index, float[] params)
Array version of: | |||||||||||||||||
| public static void | glGetProgramStringARB(int
the program target. One of: target, int
the parameter to query. Must be: pname, ByteBuffer
an array in which to place the program string string)Obtains the program string for the program object bound to | |||||||||||||||||
| public static void | glGetVertexAttribdvARB(int
the generic vertex attribute parameter to be queried index, int the symbolic name of the vertex attribute parameter to be queried pname, DoubleBuffer returns the requested data params)Double version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glGetVertexAttribfvARB(int
the generic vertex attribute parameter to be queried index, int the symbolic name of the vertex attribute parameter to be queried pname, FloatBuffer returns the requested data params)Float version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static int | glGetVertexAttribiARB(int
the generic vertex attribute parameter to be queried index, int the symbolic name of the vertex attribute parameter to be queried. One of: pname)Returns the integer value of a generic vertex attribute parameter. | |||||||||||||||||
| public static void | glGetVertexAttribivARB(int
the generic vertex attribute parameter to be queried index, int the symbolic name of the vertex attribute parameter to be queried. One of: pname, IntBuffer returns the requested data params)Returns the integer value of a generic vertex attribute parameter. | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static long | glGetVertexAttribPointerARB(int
the generic vertex attribute parameter to be queried index, int the symbolic name of the generic vertex attribute parameter to be returned. Must be: pname)
Returns the address of the specified generic vertex attribute pointer. | |||||||||||||||||
| public static void | glGetVertexAttribPointervARB(int
the generic vertex attribute parameter to be queried index, int the symbolic name of the generic vertex attribute parameter to be returned. Must be: pname, PointerBuffer
the pointer value pointer)Returns the address of the specified generic vertex attribute pointer. | |||||||||||||||||
| public static native boolean | ||||||||||||||||||
| public static native void | glProgramEnvParameter4dARB(int
the program target. One of: target, int
the environment parameter index index, double the x, double x parameter componentthe y, double y parameter componentthe z, double z parameter componentthe w)w parameter componentDouble version of | |||||||||||||||||
| public static void | glProgramEnvParameter4dvARB(int
the program target. One of: target, int
the environment parameter index index, DoubleBuffer a buffer from which to read the parameter value params)Pointer version of | |||||||||||||||||
| public static void | glProgramEnvParameter4dvARB(int target, int index, double[] params)
Array version of: | |||||||||||||||||
| public static native void | glProgramEnvParameter4fARB(int
the program target. One of: target, int
the environment parameter index index, float the x, float x parameter componentthe y, float y parameter componentthe z, float z parameter componentthe w)w parameter componentUpdates the values of the program environment parameter numbered | |||||||||||||||||
| public static void | glProgramEnvParameter4fvARB(int
the program target. One of: target, int
the environment parameter index index, FloatBuffer a buffer from which to read the parameter value params)Pointer version of | |||||||||||||||||
| public static void | glProgramEnvParameter4fvARB(int target, int index, float[] params)
Array version of: | |||||||||||||||||
| public static native void | glProgramLocalParameter4dARB(int
the program target. One of: target, int
the environment parameter index index, double the x, double x parameter componentthe y, double y parameter componentthe z, double z parameter componentthe w)w parameter componentDouble version of | |||||||||||||||||
| public static void | glProgramLocalParameter4dvARB(int
the program target. One of: target, int
the environment parameter index index, DoubleBuffer a buffer from which to read the parameter value params)Pointer version of | |||||||||||||||||
| public static void | glProgramLocalParameter4dvARB(int target, int index, double[] params)
Array version of: | |||||||||||||||||
| public static native void | glProgramLocalParameter4fARB(int
the program target. One of: target, int
the environment parameter index index, float the x, float x parameter componentthe y, float y parameter componentthe z, float z parameter componentthe w)w parameter componentUpdates the values of the program local parameter numbered | |||||||||||||||||
| public static void | glProgramLocalParameter4fvARB(int
the program target. One of: target, int
the environment parameter index index, FloatBuffer a buffer from which to read the parameter value params)Pointer version of | |||||||||||||||||
| public static void | glProgramLocalParameter4fvARB(int target, int index, float[] params)
Array version of: | |||||||||||||||||
| public static void | glProgramStringARB(int
the program target. One of: target, int
the format of the program string. Must be: format, ByteBuffer
an array of bytes representing the program string being loaded string)Updates the program string for the current program object for | |||||||||||||||||
| public static void | glVertexAttrib1dARB(int
the index of the generic vertex attribute to be modified index, double the vertex attribute x component v0)Double version of | |||||||||||||||||
| public static void | glVertexAttrib1dvARB(int
the index of the generic vertex attribute to be modified index, DoubleBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib1fARB(int
the index of the generic vertex attribute to be modified index, float the vertex attribute x component v0)Specifies the value of a generic vertex attribute. | |||||||||||||||||
| public static void | glVertexAttrib1fvARB(int
the index of the generic vertex attribute to be modified index, FloatBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib1sARB(int
the index of the generic vertex attribute to be modified index, short the vertex attribute x component v0)Short version of | |||||||||||||||||
| public static void | glVertexAttrib1svARB(int
the index of the generic vertex attribute to be modified index, ShortBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib2dARB(int
the index of the generic vertex attribute to be modified index, double the vertex attribute x component v0, double the vertex attribute y component v1)Double version of | |||||||||||||||||
| public static void | glVertexAttrib2dvARB(int
the index of the generic vertex attribute to be modified index, DoubleBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib2fARB(int
the index of the generic vertex attribute to be modified index, float the vertex attribute x component v0, float the vertex attribute y component v1)Specifies the value of a generic vertex attribute. | |||||||||||||||||
| public static void | glVertexAttrib2fvARB(int
the index of the generic vertex attribute to be modified index, FloatBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib2sARB(int
the index of the generic vertex attribute to be modified index, short the vertex attribute x component v0, short the vertex attribute y component v1)Short version of | |||||||||||||||||
| public static void | glVertexAttrib2svARB(int
the index of the generic vertex attribute to be modified index, ShortBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib3dARB(int
the index of the generic vertex attribute to be modified index, double the vertex attribute x component v0, double the vertex attribute y component v1, double the vertex attribute z component v2)Double version of | |||||||||||||||||
| public static void | glVertexAttrib3dvARB(int
the index of the generic vertex attribute to be modified index, DoubleBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib3fARB(int
the index of the generic vertex attribute to be modified index, float the vertex attribute x component v0, float the vertex attribute y component v1, float the vertex attribute z component v2)Specifies the value of a generic vertex attribute. | |||||||||||||||||
| public static void | glVertexAttrib3fvARB(int
the index of the generic vertex attribute to be modified index, FloatBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib3sARB(int
the index of the generic vertex attribute to be modified index, short the vertex attribute x component v0, short the vertex attribute y component v1, short the vertex attribute z component v2)Short version of | |||||||||||||||||
| public static void | glVertexAttrib3svARB(int
the index of the generic vertex attribute to be modified index, ShortBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4bvARB(int
the index of the generic vertex attribute to be modified index, ByteBuffer the vertex attribute buffer v)Byte pointer version of | |||||||||||||||||
| public static void | glVertexAttrib4dARB(int
the index of the generic vertex attribute to be modified index, double the vertex attribute x component v0, double the vertex attribute y component v1, double the vertex attribute z component v2, double the vertex attribute w component v3)Double version of | |||||||||||||||||
| public static void | glVertexAttrib4dvARB(int
the index of the generic vertex attribute to be modified index, DoubleBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4fARB(int
the index of the generic vertex attribute to be modified index, float the vertex attribute x component v0, float the vertex attribute y component v1, float the vertex attribute z component v2, float the vertex attribute w component v3)Specifies the value of a generic vertex attribute. | |||||||||||||||||
| public static void | glVertexAttrib4fvARB(int
the index of the generic vertex attribute to be modified index, FloatBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4ivARB(int
the index of the generic vertex attribute to be modified index, IntBuffer the vertex attribute buffer v)Integer pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4NbvARB(int
the index of the generic vertex attribute to be modified index, ByteBuffer the vertex attribute buffer v)Normalized byte pointer version of | |||||||||||||||||
| public static void | glVertexAttrib4NivARB(int
the index of the generic vertex attribute to be modified index, IntBuffer the vertex attribute buffer v)Normalized int pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4NsvARB(int
the index of the generic vertex attribute to be modified index, ShortBuffer the vertex attribute buffer v)Normalized short pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4NubARB(int
the index of the generic vertex attribute to be modified index, byte the vertex attribute x component x, byte the vertex attribute y component y, byte the vertex attribute z component z, byte the vertex attribute w component w)Normalized unsigned byte version of | |||||||||||||||||
| public static void | glVertexAttrib4NubvARB(int
the index of the generic vertex attribute to be modified index, ByteBuffer the vertex attribute buffer v)Normalized unsigned byte pointer version of | |||||||||||||||||
| public static void | glVertexAttrib4NuivARB(int
the index of the generic vertex attribute to be modified index, IntBuffer the vertex attribute buffer v)Normalized unsigned int pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4NusvARB(int
the index of the generic vertex attribute to be modified index, ShortBuffer the vertex attribute buffer v)Normalized unsigned short pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4sARB(int
the index of the generic vertex attribute to be modified index, short the vertex attribute x component v0, short the vertex attribute y component v1, short the vertex attribute z component v2, short the vertex attribute w component v3)Short version of | |||||||||||||||||
| public static void | glVertexAttrib4svARB(int
the index of the generic vertex attribute to be modified index, ShortBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4ubvARB(int
the index of the generic vertex attribute to be modified index, ByteBuffer the vertex attribute buffer v)Pointer version of | |||||||||||||||||
| public static void | glVertexAttrib4uivARB(int
the index of the generic vertex attribute to be modified index, IntBuffer the vertex attribute buffer v)Unsigned int pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttrib4usvARB(int
the index of the generic vertex attribute to be modified index, ShortBuffer the vertex attribute buffer v)Unsigned short pointer version of | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified index, int the number of values per vertex that are stored in the array. The initial value is 4. One of: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: type, boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed normalized, int 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. stride, ByteBuffer 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 pointer)ARRAY_BUFFER target. The initial value is 0.Specifies the location and organization of a vertex attribute array. | |||||||||||||||||
| public static void | glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified index, int the number of values per vertex that are stored in the array. The initial value is 4. One of: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: type, boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed normalized, int 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. stride, long 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 pointer)ARRAY_BUFFER target. The initial value is 0.Specifies the location and organization of a vertex attribute array. | |||||||||||||||||
| public static void | glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified index, int the number of values per vertex that are stored in the array. The initial value is 4. One of: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: type, boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed normalized, int 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. stride, ShortBuffer 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 pointer)ARRAY_BUFFER target. The initial value is 0.Specifies the location and organization of a vertex attribute array. | |||||||||||||||||
| public static void | glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified index, int the number of values per vertex that are stored in the array. The initial value is 4. One of: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: type, boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed normalized, int 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. stride, IntBuffer 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 pointer)ARRAY_BUFFER target. The initial value is 0.Specifies the location and organization of a vertex attribute array. | |||||||||||||||||
| public static void | glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified index, int the number of values per vertex that are stored in the array. The initial value is 4. One of: size, int
the data type of each component in the array. The initial value is GL_FLOAT. One of: type, boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed normalized, int 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. stride, FloatBuffer 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 pointer)ARRAY_BUFFER target. The initial value is 0.Specifies the location and organization of a vertex attribute array. | |||||||||||||||||
| public static void | glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, short[] pointer)
Array version of: | |||||||||||||||||
| public static void | glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, int[] pointer)
Array version of: | |||||||||||||||||
| public static void | glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, float[] pointer)
Array version of: | |||||||||||||||||
| public static native void | nglDeleteProgramsARB(int
the number of program object to delete n, long programs)Unsafe version of: | |||||||||||||||||
| public static native void | nglGenProgramsARB(int
the number of program names to genereate n, long programs)Unsafe version of: | |||||||||||||||||
| public static native void | nglGetProgramEnvParameterdvARB(int target, int index, long params)
Unsafe version of: | |||||||||||||||||
| public static native void | nglGetProgramEnvParameterfvARB(int target, int index, long params)
Unsafe version of: | |||||||||||||||||
| public static native void | ||||||||||||||||||
| public static native void | nglGetProgramLocalParameterdvARB(int target, int index, long params)
Unsafe version of: | |||||||||||||||||
| public static native void | nglGetProgramLocalParameterfvARB(int target, int index, long params)
Unsafe version of: | |||||||||||||||||
| public static native void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | nglGetVertexAttribPointervARB(int index, int pname, long pointer)
Unsafe version of: | |||||||||||||||||
| public static native void | nglProgramEnvParameter4dvARB(int target, int index, long params)
Unsafe version of: | |||||||||||||||||
| public static native void | nglProgramEnvParameter4fvARB(int target, int index, long params)
Unsafe version of: | |||||||||||||||||
| public static native void | nglProgramLocalParameter4dvARB(int target, int index, long params)
Unsafe version of: | |||||||||||||||||
| public static native void | nglProgramLocalParameter4fvARB(int target, int index, long params)
Unsafe version of: | |||||||||||||||||
| public static native void | nglProgramStringARB(int target, int format, int
the length of the program string, excluding the null-terminator len, long string)Unsafe version of: | |||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | ||||||||||||||||||
| public static void | nglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long pointer)
Unsafe version of: |