Class ARBVertexProgram
- java.lang.Object
-
- org.lwjgl.opengl.ARBVertexProgram
-
public class ARBVertexProgram extends java.lang.ObjectNative bindings to the ARB_vertex_program extension.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/Endpair) 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.
-
-
Field Summary
Fields Modifier and Type Field and Description static intGL_COLOR_SUM_ARBAccepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_CURRENT_MATRIX_ARB
GL_CURRENT_MATRIX_STACK_DEPTH_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_CURRENT_VERTEX_ATTRIB_ARBAccepted by thepnameparameter of GetVertexAttrib[dfi]vARB.static intGL_MATRIX0_ARB
GL_MATRIX1_ARB
GL_MATRIX10_ARB
GL_MATRIX11_ARB
GL_MATRIX12_ARB
GL_MATRIX13_ARB
GL_MATRIX14_ARB
GL_MATRIX15_ARB
GL_MATRIX16_ARB
GL_MATRIX17_ARB
GL_MATRIX18_ARB
GL_MATRIX19_ARB
GL_MATRIX2_ARB
GL_MATRIX20_ARB
GL_MATRIX21_ARB
GL_MATRIX22_ARB
GL_MATRIX23_ARB
GL_MATRIX24_ARB
GL_MATRIX25_ARB
GL_MATRIX26_ARB
GL_MATRIX27_ARB
GL_MATRIX28_ARB
GL_MATRIX29_ARB
GL_MATRIX3_ARB
GL_MATRIX30_ARB
GL_MATRIX31_ARB
GL_MATRIX4_ARB
GL_MATRIX5_ARB
GL_MATRIX6_ARB
GL_MATRIX7_ARB
GL_MATRIX8_ARB
GL_MATRIX9_ARBAccepted by themodeparameter of MatrixMode.static intGL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
GL_MAX_PROGRAM_ATTRIBS_ARB
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
GL_MAX_PROGRAM_INSTRUCTIONS_ARB
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARBAccepted by thepnameparameter of GetProgramivARB.static intGL_MAX_PROGRAM_MATRICES_ARB
GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
GL_MAX_PROGRAM_PARAMETERS_ARB
GL_MAX_PROGRAM_TEMPORARIES_ARBAccepted by thepnameparameter of GetProgramivARB.static intGL_MAX_VERTEX_ATTRIBS_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_PROGRAM_ADDRESS_REGISTERS_ARB
GL_PROGRAM_ATTRIBS_ARB
GL_PROGRAM_BINDING_ARBAccepted by thepnameparameter of GetProgramivARB.static intGL_PROGRAM_ERROR_POSITION_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_PROGRAM_ERROR_STRING_ARBAccepted by thenameparameter of GetString.static intGL_PROGRAM_FORMAT_ARBAccepted by thepnameparameter of GetProgramivARB.static intGL_PROGRAM_FORMAT_ASCII_ARBAccepted by theformatparameter of ProgramStringARB.static intGL_PROGRAM_INSTRUCTIONS_ARB
GL_PROGRAM_LENGTH_ARB
GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
GL_PROGRAM_NATIVE_ATTRIBS_ARB
GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
GL_PROGRAM_NATIVE_PARAMETERS_ARB
GL_PROGRAM_NATIVE_TEMPORARIES_ARB
GL_PROGRAM_PARAMETERS_ARBAccepted by thepnameparameter of GetProgramivARB.static intGL_PROGRAM_STRING_ARBAccepted by thepnameparameter of GetProgramStringARB.static intGL_PROGRAM_TEMPORARIES_ARB
GL_PROGRAM_UNDER_NATIVE_LIMITS_ARBAccepted by thepnameparameter of GetProgramivARB.static intGL_TRANSPOSE_CURRENT_MATRIX_ARBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.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_ARBAccepted by thecapparameter of Disable, Enable, and IsEnabled, by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thetargetparameter of ProgramStringARB, BindProgramARB, ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB, GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB, GetProgramivARB, and GetProgramStringARB.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidglBindProgramARB(int target, int program)Creates a named program object by binding an unused program object name to a valid program target.static voidglDeleteProgramsARB(int[] programs)Array version of:DeleteProgramsARBstatic voidglDeleteProgramsARB(java.nio.IntBuffer programs)Deletes program objects.static voidglDisableVertexAttribArrayARB(int index)Disables an individual generic vertex attribute array.static voidglEnableVertexAttribArrayARB(int index)Enables an individual generic vertex attribute array.static intglGenProgramsARB()Returnsncurrently unused program names inprograms.static voidglGenProgramsARB(int[] programs)Array version of:GenProgramsARBstatic voidglGenProgramsARB(java.nio.IntBuffer programs)Returnsncurrently unused program names inprograms.static voidglGetProgramEnvParameterdvARB(int target, int index, double[] params)Array version of:GetProgramEnvParameterdvARBstatic voidglGetProgramEnvParameterdvARB(int target, int index, java.nio.DoubleBuffer params)Double version ofGetProgramEnvParameterfvARB.static voidglGetProgramEnvParameterfvARB(int target, int index, float[] params)Array version of:GetProgramEnvParameterfvARBstatic voidglGetProgramEnvParameterfvARB(int target, int index, java.nio.FloatBuffer params)Obtain the current value for the program environment parameter numberedindexfor the specified program targettarget, and places the information in the arrayparams.static intglGetProgramiARB(int target, int pname)Obtains program state for the program targettarget, writing the state into the array given byparams.static voidglGetProgramivARB(int target, int pname, int[] params)Array version of:GetProgramivARBstatic voidglGetProgramivARB(int target, int pname, java.nio.IntBuffer params)Obtains program state for the program targettarget, writing the state into the array given byparams.static voidglGetProgramLocalParameterdvARB(int target, int index, double[] params)Array version of:GetProgramLocalParameterdvARBstatic voidglGetProgramLocalParameterdvARB(int target, int index, java.nio.DoubleBuffer params)Double version ofGetProgramLocalParameterfvARB.static voidglGetProgramLocalParameterfvARB(int target, int index, float[] params)Array version of:GetProgramLocalParameterfvARBstatic voidglGetProgramLocalParameterfvARB(int target, int index, java.nio.FloatBuffer params)Obtain the current value for the program local parameter numberedindexfor the specified program targettarget, and places the information in the arrayparams.static voidglGetProgramStringARB(int target, int pname, java.nio.ByteBuffer string)Obtains the program string for the program object bound totargetand places the information in the arraystring.static voidglGetVertexAttribdvARB(int index, int pname, double[] params)Array version of:GetVertexAttribdvARBstatic voidglGetVertexAttribdvARB(int index, int pname, java.nio.DoubleBuffer params)Double version ofGetVertexAttribfvARB.static voidglGetVertexAttribfvARB(int index, int pname, float[] params)Array version of:GetVertexAttribfvARBstatic voidglGetVertexAttribfvARB(int index, int pname, java.nio.FloatBuffer params)Obtains the vertex attribute state named bypnamefor the vertex attribute numberedindexand places the information in the arrayparams.static intglGetVertexAttribiARB(int index, int pname)Integer version ofGetVertexAttribfvARB.static voidglGetVertexAttribivARB(int index, int pname, int[] params)Array version of:GetVertexAttribivARBstatic voidglGetVertexAttribivARB(int index, int pname, java.nio.IntBuffer params)Integer version ofGetVertexAttribfvARB.static longglGetVertexAttribPointerARB(int index, int pname)Obtains the pointer namedpnamefor vertex attribute numberedindexand places the information in the arraypointer.static voidglGetVertexAttribPointervARB(int index, int pname, org.lwjgl.PointerBuffer pointer)Obtains the pointer namedpnamefor vertex attribute numberedindexand places the information in the arraypointer.static booleanglIsProgramARB(int program)ReturnsTRUEifprogramis the name of a program object.static voidglProgramEnvParameter4dARB(int target, int index, double x, double y, double z, double w)Double version ofProgramEnvParameter4fARB.static voidglProgramEnvParameter4dvARB(int target, int index, double[] params)Array version of:ProgramEnvParameter4dvARBstatic voidglProgramEnvParameter4dvARB(int target, int index, java.nio.DoubleBuffer params)Pointer version ofProgramEnvParameter4dARBstatic voidglProgramEnvParameter4fARB(int target, int index, float x, float y, float z, float w)Updates the values of the program environment parameter numberedindexfor the specified program targettarget.static voidglProgramEnvParameter4fvARB(int target, int index, float[] params)Array version of:ProgramEnvParameter4fvARBstatic voidglProgramEnvParameter4fvARB(int target, int index, java.nio.FloatBuffer params)Pointer version ofProgramEnvParameter4fARB.static voidglProgramLocalParameter4dARB(int target, int index, double x, double y, double z, double w)Double version ofProgramLocalParameter4fARB.static voidglProgramLocalParameter4dvARB(int target, int index, double[] params)Array version of:ProgramLocalParameter4dvARBstatic voidglProgramLocalParameter4dvARB(int target, int index, java.nio.DoubleBuffer params)Pointer version ofProgramLocalParameter4dARB.static voidglProgramLocalParameter4fARB(int target, int index, float x, float y, float z, float w)Updates the values of the program local parameter numberedindexfor the specified program targettarget.static voidglProgramLocalParameter4fvARB(int target, int index, float[] params)Array version of:ProgramLocalParameter4fvARBstatic voidglProgramLocalParameter4fvARB(int target, int index, java.nio.FloatBuffer params)Pointer version ofProgramLocalParameter4fARB.static voidglProgramStringARB(int target, int format, java.nio.ByteBuffer string)Updates the program string for the current program object fortarget.static voidglVertexAttrib1dARB(int index, double x)Double version ofVertexAttrib1fARBstatic voidglVertexAttrib1dvARB(int index, double[] v)Array version of:VertexAttrib1dvARBstatic voidglVertexAttrib1dvARB(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib1dARBstatic voidglVertexAttrib1fARB(int index, float x)Specifies thexcomponent of the current vertex attribute numberedindex.static voidglVertexAttrib1fvARB(int index, float[] v)Array version of:VertexAttrib1fvARBstatic voidglVertexAttrib1fvARB(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib1fARBstatic voidglVertexAttrib1sARB(int index, short x)Short version ofVertexAttrib1fARBstatic voidglVertexAttrib1svARB(int index, short[] v)Array version of:VertexAttrib1svARBstatic voidglVertexAttrib1svARB(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib1sARBstatic voidglVertexAttrib2dARB(int index, double x, double y)Double version ofVertexAttrib2fARBstatic voidglVertexAttrib2dvARB(int index, double[] v)Array version of:VertexAttrib2dvARBstatic voidglVertexAttrib2dvARB(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib2dARBstatic voidglVertexAttrib2fARB(int index, float x, float y)Specifies thexandycomponents of the current vertex attribute numberedindex.static voidglVertexAttrib2fvARB(int index, float[] v)Array version of:VertexAttrib2fvARBstatic voidglVertexAttrib2fvARB(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib2fARBstatic voidglVertexAttrib2sARB(int index, short x, short y)Short version ofVertexAttrib2fARBstatic voidglVertexAttrib2svARB(int index, short[] v)Array version of:VertexAttrib2svARBstatic voidglVertexAttrib2svARB(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib2sARBstatic voidglVertexAttrib3dARB(int index, double x, double y, double z)Double version ofVertexAttrib3fARBstatic voidglVertexAttrib3dvARB(int index, double[] v)Array version of:VertexAttrib3dvARBstatic voidglVertexAttrib3dvARB(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib3dARBstatic voidglVertexAttrib3fARB(int index, float x, float y, float z)Specifies thex,yandzcomponents of the current vertex attribute numberedindex.static voidglVertexAttrib3fvARB(int index, float[] v)Array version of:VertexAttrib3fvARBstatic voidglVertexAttrib3fvARB(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib3fARBstatic voidglVertexAttrib3sARB(int index, short x, short y, short z)Short version ofVertexAttrib3fARBstatic voidglVertexAttrib3svARB(int index, short[] v)Array version of:VertexAttrib3svARBstatic voidglVertexAttrib3svARB(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib3sARBstatic voidglVertexAttrib4bvARB(int index, java.nio.ByteBuffer v)Byte version ofVertexAttrib4fvARBstatic voidglVertexAttrib4dARB(int index, double x, double y, double z, double w)Double version ofVertexAttrib4fARBstatic voidglVertexAttrib4dvARB(int index, double[] v)Array version of:VertexAttrib4dvARBstatic voidglVertexAttrib4dvARB(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib4dARBstatic voidglVertexAttrib4fARB(int index, float x, float y, float z, float w)Specifies the current vertex attribute numberedindex.static voidglVertexAttrib4fvARB(int index, float[] v)Array version of:VertexAttrib4fvARBstatic voidglVertexAttrib4fvARB(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib4fARBstatic voidglVertexAttrib4ivARB(int index, int[] v)Array version of:VertexAttrib4ivARBstatic voidglVertexAttrib4ivARB(int index, java.nio.IntBuffer v)Integer version ofVertexAttrib4fvARBstatic voidglVertexAttrib4NbvARB(int index, java.nio.ByteBuffer v)Fixed-point version ofVertexAttrib4bvARBstatic voidglVertexAttrib4NivARB(int index, int[] v)Array version of:VertexAttrib4NivARBstatic voidglVertexAttrib4NivARB(int index, java.nio.IntBuffer v)Fixed-point version ofVertexAttrib4ivARBstatic voidglVertexAttrib4NsvARB(int index, short[] v)Array version of:VertexAttrib4NsvARBstatic voidglVertexAttrib4NsvARB(int index, java.nio.ShortBuffer v)Fixed-point version ofVertexAttrib4svARBstatic voidglVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w)Fixed-point unsigned byte version ofVertexAttrib4fARBstatic voidglVertexAttrib4NubvARB(int index, java.nio.ByteBuffer v)Fixed-point unsigned version ofVertexAttrib4bvARBstatic voidglVertexAttrib4NuivARB(int index, int[] v)Array version of:VertexAttrib4NuivARBstatic voidglVertexAttrib4NuivARB(int index, java.nio.IntBuffer v)Fixed-point unsigned version ofVertexAttrib4ivARBstatic voidglVertexAttrib4NusvARB(int index, short[] v)Array version of:VertexAttrib4NusvARBstatic voidglVertexAttrib4NusvARB(int index, java.nio.ShortBuffer v)Fixed-point unsigned version ofVertexAttrib4svARBstatic voidglVertexAttrib4sARB(int index, short x, short y, short z, short w)Short version ofVertexAttrib4fARBstatic voidglVertexAttrib4svARB(int index, short[] v)Array version of:VertexAttrib4svARBstatic voidglVertexAttrib4svARB(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib4sARBstatic voidglVertexAttrib4ubvARB(int index, java.nio.ByteBuffer v)Unsigned byte version ofVertexAttrib4fvARBstatic voidglVertexAttrib4uivARB(int index, int[] v)Array version of:VertexAttrib4uivARBstatic voidglVertexAttrib4uivARB(int index, java.nio.IntBuffer v)Unsigned integer version ofVertexAttrib4fvARBstatic voidglVertexAttrib4usvARB(int index, short[] v)Array version of:VertexAttrib4usvARBstatic voidglVertexAttrib4usvARB(int index, java.nio.ShortBuffer v)Unsigned short version ofVertexAttrib4fvARBstatic 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_PROGRAM_ARB
Accepted by thecapparameter of Disable, Enable, and IsEnabled, by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thetargetparameter of ProgramStringARB, BindProgramARB, ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB, GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB, GetProgramivARB, and GetProgramStringARB.
-
GL_VERTEX_PROGRAM_POINT_SIZE_ARB, GL_VERTEX_PROGRAM_TWO_SIDE_ARB, GL_COLOR_SUM_ARB
Accepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_PROGRAM_FORMAT_ASCII_ARB
Accepted by theformatparameter of ProgramStringARB.
-
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_PROGRAM_LENGTH_ARB, GL_PROGRAM_FORMAT_ARB, GL_PROGRAM_BINDING_ARB, GL_PROGRAM_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_INSTRUCTIONS_ARB, GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB, GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB, GL_PROGRAM_TEMPORARIES_ARB, GL_MAX_PROGRAM_TEMPORARIES_ARB, GL_PROGRAM_NATIVE_TEMPORARIES_ARB, GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB, GL_PROGRAM_PARAMETERS_ARB, GL_MAX_PROGRAM_PARAMETERS_ARB, GL_PROGRAM_NATIVE_PARAMETERS_ARB, GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB, GL_PROGRAM_ATTRIBS_ARB, GL_MAX_PROGRAM_ATTRIBS_ARB, GL_PROGRAM_NATIVE_ATTRIBS_ARB, GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB, GL_PROGRAM_ADDRESS_REGISTERS_ARB, GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB, GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB, GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB, GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB, GL_MAX_PROGRAM_ENV_PARAMETERS_ARB, GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
Accepted by thepnameparameter of GetProgramivARB.
-
GL_PROGRAM_STRING_ARB
Accepted by thepnameparameter of GetProgramStringARB.
-
GL_PROGRAM_ERROR_POSITION_ARB, GL_CURRENT_MATRIX_ARB, GL_TRANSPOSE_CURRENT_MATRIX_ARB, GL_CURRENT_MATRIX_STACK_DEPTH_ARB, GL_MAX_VERTEX_ATTRIBS_ARB, GL_MAX_PROGRAM_MATRICES_ARB, GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_PROGRAM_ERROR_STRING_ARB
Accepted by thenameparameter of GetString.
-
GL_MATRIX0_ARB, GL_MATRIX1_ARB, GL_MATRIX2_ARB, GL_MATRIX3_ARB, GL_MATRIX4_ARB, GL_MATRIX5_ARB, GL_MATRIX6_ARB, GL_MATRIX7_ARB, GL_MATRIX8_ARB, GL_MATRIX9_ARB, GL_MATRIX10_ARB, GL_MATRIX11_ARB, GL_MATRIX12_ARB, GL_MATRIX13_ARB, GL_MATRIX14_ARB, GL_MATRIX15_ARB, GL_MATRIX16_ARB, GL_MATRIX17_ARB, GL_MATRIX18_ARB, GL_MATRIX19_ARB, GL_MATRIX20_ARB, GL_MATRIX21_ARB, GL_MATRIX22_ARB, GL_MATRIX23_ARB, GL_MATRIX24_ARB, GL_MATRIX25_ARB, GL_MATRIX26_ARB, GL_MATRIX27_ARB, GL_MATRIX28_ARB, GL_MATRIX29_ARB, GL_MATRIX30_ARB, GL_MATRIX31_ARB
Accepted by themodeparameter of MatrixMode.
-
-
Method Detail
-
glVertexAttrib1sARB
public static void glVertexAttrib1sARB(int index, short x)Short version ofVertexAttrib1fARB- Parameters:
index- the vertex attribute indexx- thexattribute component
-
glVertexAttrib1fARB
public static void glVertexAttrib1fARB(int index, float x)Specifies thexcomponent of the current vertex attribute numberedindex. Componentsyandzare set to 0 andwto 1.- Parameters:
index- the vertex attribute indexx- thexattribute component
-
glVertexAttrib1dARB
public static void glVertexAttrib1dARB(int index, double x)Double version ofVertexAttrib1fARB- Parameters:
index- the vertex attribute indexx- thexattribute component
-
glVertexAttrib2sARB
public static void glVertexAttrib2sARB(int index, short x, short y)Short version ofVertexAttrib2fARB- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute component
-
glVertexAttrib2fARB
public static void glVertexAttrib2fARB(int index, float x, float y)Specifies thexandycomponents of the current vertex attribute numberedindex. Componentzis set to 0 andwto 1.- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute component
-
glVertexAttrib2dARB
public static void glVertexAttrib2dARB(int index, double x, double y)Double version ofVertexAttrib2fARB- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute component
-
glVertexAttrib3sARB
public static void glVertexAttrib3sARB(int index, short x, short y, short z)Short version ofVertexAttrib3fARB- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute componentz- thezattribute component
-
glVertexAttrib3fARB
public static void glVertexAttrib3fARB(int index, float x, float y, float z)Specifies thex,yandzcomponents of the current vertex attribute numberedindex. Componentwis set to 1.- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute componentz- thezattribute component
-
glVertexAttrib3dARB
public static void glVertexAttrib3dARB(int index, double x, double y, double z)Double version ofVertexAttrib3fARB- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute componentz- thezattribute component
-
glVertexAttrib4sARB
public static void glVertexAttrib4sARB(int index, short x, short y, short z, short w)Short version ofVertexAttrib4fARB- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute componentz- thezattribute componentw- thewattribute component
-
glVertexAttrib4fARB
public static void glVertexAttrib4fARB(int index, float x, float y, float z, float w)Specifies the current vertex attribute numberedindex.- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute componentz- thezattribute componentw- thewattribute component
-
glVertexAttrib4dARB
public static void glVertexAttrib4dARB(int index, double x, double y, double z, double w)Double version ofVertexAttrib4fARB- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute componentz- thezattribute componentw- thewattribute component
-
glVertexAttrib4NubARB
public static void glVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w)Fixed-point unsigned byte version ofVertexAttrib4fARB- Parameters:
index- the vertex attribute indexx- thexattribute componenty- theyattribute componentz- thezattribute componentw- thewattribute component
-
glVertexAttrib1svARB
public static void glVertexAttrib1svARB(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib1sARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib1fvARB
public static void glVertexAttrib1fvARB(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib1fARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib1dvARB
public static void glVertexAttrib1dvARB(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib1dARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib2svARB
public static void glVertexAttrib2svARB(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib2sARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib2fvARB
public static void glVertexAttrib2fvARB(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib2fARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib2dvARB
public static void glVertexAttrib2dvARB(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib2dARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib3svARB
public static void glVertexAttrib3svARB(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib3sARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib3fvARB
public static void glVertexAttrib3fvARB(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib3fARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib3dvARB
public static void glVertexAttrib3dvARB(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib3dARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4fvARB
public static void glVertexAttrib4fvARB(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib4fARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4bvARB
public static void glVertexAttrib4bvARB(int index, java.nio.ByteBuffer v)Byte version ofVertexAttrib4fvARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4svARB
public static void glVertexAttrib4svARB(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib4sARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4ivARB
public static void glVertexAttrib4ivARB(int index, java.nio.IntBuffer v)Integer version ofVertexAttrib4fvARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4ubvARB
public static void glVertexAttrib4ubvARB(int index, java.nio.ByteBuffer v)Unsigned byte version ofVertexAttrib4fvARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4usvARB
public static void glVertexAttrib4usvARB(int index, java.nio.ShortBuffer v)Unsigned short version ofVertexAttrib4fvARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4uivARB
public static void glVertexAttrib4uivARB(int index, java.nio.IntBuffer v)Unsigned integer version ofVertexAttrib4fvARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4dvARB
public static void glVertexAttrib4dvARB(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib4dARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4NbvARB
public static void glVertexAttrib4NbvARB(int index, java.nio.ByteBuffer v)Fixed-point version ofVertexAttrib4bvARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4NsvARB
public static void glVertexAttrib4NsvARB(int index, java.nio.ShortBuffer v)Fixed-point version ofVertexAttrib4svARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4NivARB
public static void glVertexAttrib4NivARB(int index, java.nio.IntBuffer v)Fixed-point version ofVertexAttrib4ivARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4NubvARB
public static void glVertexAttrib4NubvARB(int index, java.nio.ByteBuffer v)Fixed-point unsigned version ofVertexAttrib4bvARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4NusvARB
public static void glVertexAttrib4NusvARB(int index, java.nio.ShortBuffer v)Fixed-point unsigned version ofVertexAttrib4svARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
glVertexAttrib4NuivARB
public static void glVertexAttrib4NuivARB(int index, java.nio.IntBuffer v)Fixed-point unsigned version ofVertexAttrib4ivARB- Parameters:
index- the vertex attribute indexv- a buffer from which to read the attribute value
-
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 vertex attribute indexsize- the vertex attribute number of components. One of:1 2 3 4 type- the data type of the values stored in the array. One of:BYTESHORTINTUNSIGNED_BYTEUNSIGNED_SHORTUNSIGNED_INTHALF_FLOATHALF_FLOAT_NVFLOATDOUBLEnormalized- ifTRUE, fixed-point types are normalized when converted to floating-pointstride- the vertex stride in bytes. If specified as zero, then array elements are stored sequentiallypointer- the vertex attribute array data
-
glEnableVertexAttribArrayARB
public static void glEnableVertexAttribArrayARB(int index)
Enables an individual generic vertex attribute array.- Parameters:
index- the vertex attribute index
-
glDisableVertexAttribArrayARB
public static void glDisableVertexAttribArrayARB(int index)
Disables an individual generic vertex attribute array.- Parameters:
index- the vertex attribute index
-
glProgramStringARB
public static void glProgramStringARB(int target, int format, java.nio.ByteBuffer string)Updates the program string for the current program object fortarget.When a program string is loaded, it is interpreted according to syntactic and semantic rules corresponding to the program target specified by
target. If a program violates the syntactic or semantic restrictions of the program target, ProgramStringARB generates the errorINVALID_OPERATION.Additionally, ProgramString will update the program error position (
PROGRAM_ERROR_POSITION_ARB) and error string (PROGRAM_ERROR_STRING_ARB). If a program fails to load, the value of the program error position is set to the ubyte offset into the specified program string indicating where the first program error was detected. If the program fails to load because of a semantic restriction that is not detected until the program is fully scanned, the error position is set to the value oflen. If a program loads successfully, the error position is set to the value negative one. The implementation-dependent program error string contains one or more error or warning messages. If a program loads succesfully, the error string may either contain warning messages or be empty.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBformat- the format of the program string. Must be:PROGRAM_FORMAT_ASCII_ARBstring- an array of bytes representing the program string being loaded
-
glBindProgramARB
public static void glBindProgramARB(int target, int program)Creates a named program object by binding an unused program object name to a valid program target. Also can be used to bind an existing program object to a program target.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBprogram- the program object to bind. Ifprogramis zero, the default program object fortargetis bound. Ifprogramis the name of an existing program object whose associated program target istarget, the named program object is bound.
-
glDeleteProgramsARB
public static void glDeleteProgramsARB(java.nio.IntBuffer programs)
Deletes program objects.- Parameters:
programs- an array ofnprogram objects to be deleted
-
glGenProgramsARB
public static void glGenProgramsARB(java.nio.IntBuffer programs)
Returnsncurrently unused program names inprograms. These names are marked as used, for the purposes of GenProgramsARB only, but objects are created only when they are first bound usingBindProgramARB.- Parameters:
programs- an array in which to return the generated program names
-
glGenProgramsARB
public static int glGenProgramsARB()
Returnsncurrently unused program names inprograms. These names are marked as used, for the purposes of GenProgramsARB only, but objects are created only when they are first bound usingBindProgramARB.
-
glProgramEnvParameter4dARB
public static void glProgramEnvParameter4dARB(int target, int index, double x, double y, double z, double w)Double version ofProgramEnvParameter4fARB.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexx- thexparameter componenty- theyparameter componentz- thezparameter componentw- thewparameter component
-
glProgramEnvParameter4dvARB
public static void glProgramEnvParameter4dvARB(int target, int index, java.nio.DoubleBuffer params)Pointer version ofProgramEnvParameter4dARB- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexparams- a buffer from which to read the parameter value
-
glProgramEnvParameter4fARB
public static void glProgramEnvParameter4fARB(int target, int index, float x, float y, float z, float w)Updates the values of the program environment parameter numberedindexfor the specified program targettarget.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexx- thexparameter componenty- theyparameter componentz- thezparameter componentw- thewparameter component
-
glProgramEnvParameter4fvARB
public static void glProgramEnvParameter4fvARB(int target, int index, java.nio.FloatBuffer params)Pointer version ofProgramEnvParameter4fARB.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexparams- a buffer from which to read the parameter value
-
glProgramLocalParameter4dARB
public static void glProgramLocalParameter4dARB(int target, int index, double x, double y, double z, double w)Double version ofProgramLocalParameter4fARB.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexx- thexparameter componenty- theyparameter componentz- thezparameter componentw- thewparameter component
-
glProgramLocalParameter4dvARB
public static void glProgramLocalParameter4dvARB(int target, int index, java.nio.DoubleBuffer params)Pointer version ofProgramLocalParameter4dARB.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexparams- a buffer from which to read the parameter value
-
glProgramLocalParameter4fARB
public static void glProgramLocalParameter4fARB(int target, int index, float x, float y, float z, float w)Updates the values of the program local parameter numberedindexfor the specified program targettarget.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexx- thexparameter componenty- theyparameter componentz- thezparameter componentw- thewparameter component
-
glProgramLocalParameter4fvARB
public static void glProgramLocalParameter4fvARB(int target, int index, java.nio.FloatBuffer params)Pointer version ofProgramLocalParameter4fARB.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexparams- a buffer from which to read the parameter value
-
glGetProgramEnvParameterfvARB
public static void glGetProgramEnvParameterfvARB(int target, int index, java.nio.FloatBuffer params)Obtain the current value for the program environment parameter numberedindexfor the specified program targettarget, and places the information in the arrayparams.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexparams- a buffer in which to place the current parameter value
-
glGetProgramEnvParameterdvARB
public static void glGetProgramEnvParameterdvARB(int target, int index, java.nio.DoubleBuffer params)Double version ofGetProgramEnvParameterfvARB.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexparams- a buffer in which to place the current parameter value
-
glGetProgramLocalParameterfvARB
public static void glGetProgramLocalParameterfvARB(int target, int index, java.nio.FloatBuffer params)Obtain the current value for the program local parameter numberedindexfor the specified program targettarget, and places the information in the arrayparams.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexparams- a buffer in which to place the current parameter value
-
glGetProgramLocalParameterdvARB
public static void glGetProgramLocalParameterdvARB(int target, int index, java.nio.DoubleBuffer params)Double version ofGetProgramLocalParameterfvARB.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBindex- the environment parameter indexparams- a buffer in which to place the current parameter value
-
glGetProgramivARB
public static void glGetProgramivARB(int target, int pname, java.nio.IntBuffer params)Obtains program state for the program targettarget, writing the state into the array given byparams. GetProgramivARB can be used to determine the properties of the currently bound program object or implementation limits fortarget.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBpname- the parameter to query. One of:params- an array in which to place the parameter value
-
glGetProgramiARB
public static int glGetProgramiARB(int target, int pname)Obtains program state for the program targettarget, writing the state into the array given byparams. GetProgramivARB can be used to determine the properties of the currently bound program object or implementation limits fortarget.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBpname- the parameter to query. One of:
-
glGetProgramStringARB
public static void glGetProgramStringARB(int target, int pname, java.nio.ByteBuffer string)Obtains the program string for the program object bound totargetand places the information in the arraystring.nubytes are returned into the array program wherenis the length of the program in ubytes, as returned byGetProgramivARBwhenpnameisPROGRAM_LENGTH_ARB. The program string is always returned using the format given when the program string was specified.- Parameters:
target- the program target. One of:VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARBpname- the parameter to query. Must be:PROGRAM_STRING_ARBstring- an array in which to place the program string
-
glGetVertexAttribfvARB
public static void glGetVertexAttribfvARB(int index, int pname, java.nio.FloatBuffer params)Obtains the vertex attribute state named bypnamefor the vertex attribute numberedindexand places the information in the arrayparams.- Parameters:
index- the vertex attribute indexpname- the parameter to query. Must be:CURRENT_VERTEX_ATTRIB_ARBparams- an array in which to place the parameter value
-
glGetVertexAttribdvARB
public static void glGetVertexAttribdvARB(int index, int pname, java.nio.DoubleBuffer params)Double version ofGetVertexAttribfvARB.- Parameters:
index- the vertex attribute indexpname- the parameter to query. Must be:CURRENT_VERTEX_ATTRIB_ARBparams- an array in which to place the parameter value
-
glGetVertexAttribivARB
public static void glGetVertexAttribivARB(int index, int pname, java.nio.IntBuffer params)Integer version ofGetVertexAttribfvARB.- Parameters:
index- the vertex attribute indexpname- the parameter to query. One of:VERTEX_ATTRIB_ARRAY_ENABLED_ARBVERTEX_ATTRIB_ARRAY_SIZE_ARBVERTEX_ATTRIB_ARRAY_STRIDE_ARBVERTEX_ATTRIB_ARRAY_TYPE_ARBVERTEX_ATTRIB_ARRAY_NORMALIZED_ARBCURRENT_VERTEX_ATTRIB_ARBparams- an array in which to place the parameter value
-
glGetVertexAttribiARB
public static int glGetVertexAttribiARB(int index, int pname)Integer version ofGetVertexAttribfvARB.- Parameters:
index- the vertex attribute indexpname- the parameter to query. One of:VERTEX_ATTRIB_ARRAY_ENABLED_ARBVERTEX_ATTRIB_ARRAY_SIZE_ARBVERTEX_ATTRIB_ARRAY_STRIDE_ARBVERTEX_ATTRIB_ARRAY_TYPE_ARBVERTEX_ATTRIB_ARRAY_NORMALIZED_ARBCURRENT_VERTEX_ATTRIB_ARB
-
glGetVertexAttribPointervARB
public static void glGetVertexAttribPointervARB(int index, int pname, org.lwjgl.PointerBuffer pointer)Obtains the pointer namedpnamefor vertex attribute numberedindexand places the information in the arraypointer.- Parameters:
index- the vertex attribute indexpname- the parameter to query. Must be:VERTEX_ATTRIB_ARRAY_POINTER_ARBpointer- an array in which to place the vertex attribute array pointer
-
glGetVertexAttribPointerARB
public static long glGetVertexAttribPointerARB(int index, int pname)Obtains the pointer namedpnamefor vertex attribute numberedindexand places the information in the arraypointer.- Parameters:
index- the vertex attribute indexpname- the parameter to query. Must be:VERTEX_ATTRIB_ARRAY_POINTER_ARB
-
glIsProgramARB
public static boolean glIsProgramARB(int program)
ReturnsTRUEifprogramis the name of a program object. Ifprogramis zero or is a non-zero value that is not the name of a program object, or if an error condition occurs, IsProgramARB returnsFALSE. A name returned byGenProgramsARB, but not yet bound, is not the name of a program object.- Parameters:
program- the program name
-
glVertexAttrib1svARB
public static void glVertexAttrib1svARB(int index, short[] v)Array version of:VertexAttrib1svARB
-
glVertexAttrib1fvARB
public static void glVertexAttrib1fvARB(int index, float[] v)Array version of:VertexAttrib1fvARB
-
glVertexAttrib1dvARB
public static void glVertexAttrib1dvARB(int index, double[] v)Array version of:VertexAttrib1dvARB
-
glVertexAttrib2svARB
public static void glVertexAttrib2svARB(int index, short[] v)Array version of:VertexAttrib2svARB
-
glVertexAttrib2fvARB
public static void glVertexAttrib2fvARB(int index, float[] v)Array version of:VertexAttrib2fvARB
-
glVertexAttrib2dvARB
public static void glVertexAttrib2dvARB(int index, double[] v)Array version of:VertexAttrib2dvARB
-
glVertexAttrib3svARB
public static void glVertexAttrib3svARB(int index, short[] v)Array version of:VertexAttrib3svARB
-
glVertexAttrib3fvARB
public static void glVertexAttrib3fvARB(int index, float[] v)Array version of:VertexAttrib3fvARB
-
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
-
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
-
glVertexAttrib4dvARB
public static void glVertexAttrib4dvARB(int index, double[] v)Array version of:VertexAttrib4dvARB
-
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
-
glDeleteProgramsARB
public static void glDeleteProgramsARB(int[] programs)
Array version of:DeleteProgramsARB
-
glGenProgramsARB
public static void glGenProgramsARB(int[] programs)
Array version of:GenProgramsARB
-
glProgramEnvParameter4dvARB
public static void glProgramEnvParameter4dvARB(int target, int index, double[] params)Array version of:ProgramEnvParameter4dvARB
-
glProgramEnvParameter4fvARB
public static void glProgramEnvParameter4fvARB(int target, int index, float[] params)Array version of:ProgramEnvParameter4fvARB
-
glProgramLocalParameter4dvARB
public static void glProgramLocalParameter4dvARB(int target, int index, double[] params)Array version of:ProgramLocalParameter4dvARB
-
glProgramLocalParameter4fvARB
public static void glProgramLocalParameter4fvARB(int target, int index, float[] params)Array version of:ProgramLocalParameter4fvARB
-
glGetProgramEnvParameterfvARB
public static void glGetProgramEnvParameterfvARB(int target, int index, float[] params)Array version of:GetProgramEnvParameterfvARB
-
glGetProgramEnvParameterdvARB
public static void glGetProgramEnvParameterdvARB(int target, int index, double[] params)Array version of:GetProgramEnvParameterdvARB
-
glGetProgramLocalParameterfvARB
public static void glGetProgramLocalParameterfvARB(int target, int index, float[] params)Array version of:GetProgramLocalParameterfvARB
-
glGetProgramLocalParameterdvARB
public static void glGetProgramLocalParameterdvARB(int target, int index, double[] params)Array version of:GetProgramLocalParameterdvARB
-
glGetProgramivARB
public static void glGetProgramivARB(int target, int pname, int[] params)Array version of:GetProgramivARB
-
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
-
glGetVertexAttribivARB
public static void glGetVertexAttribivARB(int index, int pname, int[] params)Array version of:GetVertexAttribivARB
-
-