Class ARBVertexProgram
- java.lang.Object
-
- org.lwjgl.opengl.ARBVertexProgram
-
public class ARBVertexProgram extends java.lang.Object
Native 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
/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.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_COLOR_SUM_ARB
Accepted by thecap
parameter of Disable, Enable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_CURRENT_MATRIX_ARB
GL_CURRENT_MATRIX_STACK_DEPTH_ARBAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_CURRENT_VERTEX_ATTRIB_ARB
Accepted by thepname
parameter of GetVertexAttrib[dfi]vARB.static int
GL_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 themode
parameter of MatrixMode.static int
GL_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 thepname
parameter of GetProgramivARB.static int
GL_MAX_PROGRAM_MATRICES_ARB
GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARBAccepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_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 thepname
parameter of GetProgramivARB.static int
GL_MAX_VERTEX_ATTRIBS_ARB
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_PROGRAM_ADDRESS_REGISTERS_ARB
GL_PROGRAM_ATTRIBS_ARB
GL_PROGRAM_BINDING_ARBAccepted by thepname
parameter of GetProgramivARB.static int
GL_PROGRAM_ERROR_POSITION_ARB
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_PROGRAM_ERROR_STRING_ARB
Accepted by thename
parameter of GetString.static int
GL_PROGRAM_FORMAT_ARB
Accepted by thepname
parameter of GetProgramivARB.static int
GL_PROGRAM_FORMAT_ASCII_ARB
Accepted by theformat
parameter of ProgramStringARB.static int
GL_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 thepname
parameter of GetProgramivARB.static int
GL_PROGRAM_STRING_ARB
Accepted by thepname
parameter of GetProgramStringARB.static int
GL_PROGRAM_TEMPORARIES_ARB
GL_PROGRAM_UNDER_NATIVE_LIMITS_ARBAccepted by thepname
parameter of GetProgramivARB.static int
GL_TRANSPOSE_CURRENT_MATRIX_ARB
Accepted by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static int
GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARBAccepted by thepname
parameter of GetVertexAttrib[dfi]vARB.static int
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
Accepted by thepname
parameter of GetVertexAttribPointervARB.static int
GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
GL_VERTEX_ATTRIB_ARRAY_TYPE_ARBAccepted by thepname
parameter of GetVertexAttrib[dfi]vARB.static int
GL_VERTEX_PROGRAM_ARB
Accepted by thecap
parameter of Disable, Enable, and IsEnabled, by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thetarget
parameter of ProgramStringARB, BindProgramARB, ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB, GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB, GetProgramivARB, and GetProgramStringARB.static int
GL_VERTEX_PROGRAM_POINT_SIZE_ARB
GL_VERTEX_PROGRAM_TWO_SIDE_ARBAccepted by thecap
parameter of Disable, Enable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static void
glBindProgramARB(int target, int program)
Creates a named program object by binding an unused program object name to a valid program target.static void
glDeleteProgramsARB(int[] programs)
Array version of:DeleteProgramsARB
static void
glDeleteProgramsARB(java.nio.IntBuffer programs)
Deletes program objects.static void
glDisableVertexAttribArrayARB(int index)
Disables an individual generic vertex attribute array.static void
glEnableVertexAttribArrayARB(int index)
Enables an individual generic vertex attribute array.static int
glGenProgramsARB()
Returnsn
currently unused program names inprograms
.static void
glGenProgramsARB(int[] programs)
Array version of:GenProgramsARB
static void
glGenProgramsARB(java.nio.IntBuffer programs)
Returnsn
currently unused program names inprograms
.static void
glGetProgramEnvParameterdvARB(int target, int index, double[] params)
Array version of:GetProgramEnvParameterdvARB
static void
glGetProgramEnvParameterdvARB(int target, int index, java.nio.DoubleBuffer params)
Double version ofGetProgramEnvParameterfvARB
.static void
glGetProgramEnvParameterfvARB(int target, int index, float[] params)
Array version of:GetProgramEnvParameterfvARB
static void
glGetProgramEnvParameterfvARB(int target, int index, java.nio.FloatBuffer params)
Obtain the current value for the program environment parameter numberedindex
for the specified program targettarget
, and places the information in the arrayparams
.static int
glGetProgramiARB(int target, int pname)
Obtains program state for the program targettarget
, writing the state into the array given byparams
.static void
glGetProgramivARB(int target, int pname, int[] params)
Array version of:GetProgramivARB
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
.static void
glGetProgramLocalParameterdvARB(int target, int index, double[] params)
Array version of:GetProgramLocalParameterdvARB
static void
glGetProgramLocalParameterdvARB(int target, int index, java.nio.DoubleBuffer params)
Double version ofGetProgramLocalParameterfvARB
.static void
glGetProgramLocalParameterfvARB(int target, int index, float[] params)
Array version of:GetProgramLocalParameterfvARB
static void
glGetProgramLocalParameterfvARB(int target, int index, java.nio.FloatBuffer params)
Obtain the current value for the program local parameter numberedindex
for the specified program targettarget
, and places the information in the arrayparams
.static void
glGetProgramStringARB(int target, int pname, java.nio.ByteBuffer string)
Obtains the program string for the program object bound totarget
and places the information in the arraystring
.static void
glGetVertexAttribdvARB(int index, int pname, double[] params)
Array version of:GetVertexAttribdvARB
static void
glGetVertexAttribdvARB(int index, int pname, java.nio.DoubleBuffer params)
Double version ofGetVertexAttribfvARB
.static void
glGetVertexAttribfvARB(int index, int pname, float[] params)
Array version of:GetVertexAttribfvARB
static void
glGetVertexAttribfvARB(int index, int pname, java.nio.FloatBuffer params)
Obtains the vertex attribute state named bypname
for the vertex attribute numberedindex
and places the information in the arrayparams
.static int
glGetVertexAttribiARB(int index, int pname)
Integer version ofGetVertexAttribfvARB
.static void
glGetVertexAttribivARB(int index, int pname, int[] params)
Array version of:GetVertexAttribivARB
static void
glGetVertexAttribivARB(int index, int pname, java.nio.IntBuffer params)
Integer version ofGetVertexAttribfvARB
.static long
glGetVertexAttribPointerARB(int index, int pname)
Obtains the pointer namedpname
for vertex attribute numberedindex
and places the information in the arraypointer
.static void
glGetVertexAttribPointervARB(int index, int pname, org.lwjgl.PointerBuffer pointer)
Obtains the pointer namedpname
for vertex attribute numberedindex
and places the information in the arraypointer
.static boolean
glIsProgramARB(int program)
ReturnsTRUE
ifprogram
is the name of a program object.static void
glProgramEnvParameter4dARB(int target, int index, double x, double y, double z, double w)
Double version ofProgramEnvParameter4fARB
.static void
glProgramEnvParameter4dvARB(int target, int index, double[] params)
Array version of:ProgramEnvParameter4dvARB
static void
glProgramEnvParameter4dvARB(int target, int index, java.nio.DoubleBuffer params)
Pointer version ofProgramEnvParameter4dARB
static void
glProgramEnvParameter4fARB(int target, int index, float x, float y, float z, float w)
Updates the values of the program environment parameter numberedindex
for the specified program targettarget
.static void
glProgramEnvParameter4fvARB(int target, int index, float[] params)
Array version of:ProgramEnvParameter4fvARB
static void
glProgramEnvParameter4fvARB(int target, int index, java.nio.FloatBuffer params)
Pointer version ofProgramEnvParameter4fARB
.static void
glProgramLocalParameter4dARB(int target, int index, double x, double y, double z, double w)
Double version ofProgramLocalParameter4fARB
.static void
glProgramLocalParameter4dvARB(int target, int index, double[] params)
Array version of:ProgramLocalParameter4dvARB
static void
glProgramLocalParameter4dvARB(int target, int index, java.nio.DoubleBuffer params)
Pointer version ofProgramLocalParameter4dARB
.static void
glProgramLocalParameter4fARB(int target, int index, float x, float y, float z, float w)
Updates the values of the program local parameter numberedindex
for the specified program targettarget
.static void
glProgramLocalParameter4fvARB(int target, int index, float[] params)
Array version of:ProgramLocalParameter4fvARB
static void
glProgramLocalParameter4fvARB(int target, int index, java.nio.FloatBuffer params)
Pointer version ofProgramLocalParameter4fARB
.static void
glProgramStringARB(int target, int format, java.nio.ByteBuffer string)
Updates the program string for the current program object fortarget
.static void
glVertexAttrib1dARB(int index, double x)
Double version ofVertexAttrib1fARB
static void
glVertexAttrib1dvARB(int index, double[] v)
Array version of:VertexAttrib1dvARB
static void
glVertexAttrib1dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib1dARB
static void
glVertexAttrib1fARB(int index, float x)
Specifies thex
component of the current vertex attribute numberedindex
.static void
glVertexAttrib1fvARB(int index, float[] v)
Array version of:VertexAttrib1fvARB
static void
glVertexAttrib1fvARB(int index, java.nio.FloatBuffer v)
Pointer version ofVertexAttrib1fARB
static void
glVertexAttrib1sARB(int index, short x)
Short version ofVertexAttrib1fARB
static void
glVertexAttrib1svARB(int index, short[] v)
Array version of:VertexAttrib1svARB
static void
glVertexAttrib1svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib1sARB
static void
glVertexAttrib2dARB(int index, double x, double y)
Double version ofVertexAttrib2fARB
static void
glVertexAttrib2dvARB(int index, double[] v)
Array version of:VertexAttrib2dvARB
static void
glVertexAttrib2dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib2dARB
static void
glVertexAttrib2fARB(int index, float x, float y)
Specifies thex
andy
components of the current vertex attribute numberedindex
.static void
glVertexAttrib2fvARB(int index, float[] v)
Array version of:VertexAttrib2fvARB
static void
glVertexAttrib2fvARB(int index, java.nio.FloatBuffer v)
Pointer version ofVertexAttrib2fARB
static void
glVertexAttrib2sARB(int index, short x, short y)
Short version ofVertexAttrib2fARB
static void
glVertexAttrib2svARB(int index, short[] v)
Array version of:VertexAttrib2svARB
static void
glVertexAttrib2svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib2sARB
static void
glVertexAttrib3dARB(int index, double x, double y, double z)
Double version ofVertexAttrib3fARB
static void
glVertexAttrib3dvARB(int index, double[] v)
Array version of:VertexAttrib3dvARB
static void
glVertexAttrib3dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib3dARB
static void
glVertexAttrib3fARB(int index, float x, float y, float z)
Specifies thex
,y
andz
components of the current vertex attribute numberedindex
.static void
glVertexAttrib3fvARB(int index, float[] v)
Array version of:VertexAttrib3fvARB
static void
glVertexAttrib3fvARB(int index, java.nio.FloatBuffer v)
Pointer version ofVertexAttrib3fARB
static void
glVertexAttrib3sARB(int index, short x, short y, short z)
Short version ofVertexAttrib3fARB
static void
glVertexAttrib3svARB(int index, short[] v)
Array version of:VertexAttrib3svARB
static void
glVertexAttrib3svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib3sARB
static void
glVertexAttrib4bvARB(int index, java.nio.ByteBuffer v)
Byte version ofVertexAttrib4fvARB
static void
glVertexAttrib4dARB(int index, double x, double y, double z, double w)
Double version ofVertexAttrib4fARB
static void
glVertexAttrib4dvARB(int index, double[] v)
Array version of:VertexAttrib4dvARB
static void
glVertexAttrib4dvARB(int index, java.nio.DoubleBuffer v)
Pointer version ofVertexAttrib4dARB
static void
glVertexAttrib4fARB(int index, float x, float y, float z, float w)
Specifies the current vertex attribute numberedindex
.static void
glVertexAttrib4fvARB(int index, float[] v)
Array version of:VertexAttrib4fvARB
static void
glVertexAttrib4fvARB(int index, java.nio.FloatBuffer v)
Pointer version ofVertexAttrib4fARB
static void
glVertexAttrib4ivARB(int index, int[] v)
Array version of:VertexAttrib4ivARB
static void
glVertexAttrib4ivARB(int index, java.nio.IntBuffer v)
Integer version ofVertexAttrib4fvARB
static void
glVertexAttrib4NbvARB(int index, java.nio.ByteBuffer v)
Fixed-point version ofVertexAttrib4bvARB
static void
glVertexAttrib4NivARB(int index, int[] v)
Array version of:VertexAttrib4NivARB
static void
glVertexAttrib4NivARB(int index, java.nio.IntBuffer v)
Fixed-point version ofVertexAttrib4ivARB
static void
glVertexAttrib4NsvARB(int index, short[] v)
Array version of:VertexAttrib4NsvARB
static void
glVertexAttrib4NsvARB(int index, java.nio.ShortBuffer v)
Fixed-point version ofVertexAttrib4svARB
static void
glVertexAttrib4NubARB(int index, byte x, byte y, byte z, byte w)
Fixed-point unsigned byte version ofVertexAttrib4fARB
static void
glVertexAttrib4NubvARB(int index, java.nio.ByteBuffer v)
Fixed-point unsigned version ofVertexAttrib4bvARB
static void
glVertexAttrib4NuivARB(int index, int[] v)
Array version of:VertexAttrib4NuivARB
static void
glVertexAttrib4NuivARB(int index, java.nio.IntBuffer v)
Fixed-point unsigned version ofVertexAttrib4ivARB
static void
glVertexAttrib4NusvARB(int index, short[] v)
Array version of:VertexAttrib4NusvARB
static void
glVertexAttrib4NusvARB(int index, java.nio.ShortBuffer v)
Fixed-point unsigned version ofVertexAttrib4svARB
static void
glVertexAttrib4sARB(int index, short x, short y, short z, short w)
Short version ofVertexAttrib4fARB
static void
glVertexAttrib4svARB(int index, short[] v)
Array version of:VertexAttrib4svARB
static void
glVertexAttrib4svARB(int index, java.nio.ShortBuffer v)
Pointer version ofVertexAttrib4sARB
static void
glVertexAttrib4ubvARB(int index, java.nio.ByteBuffer v)
Unsigned byte version ofVertexAttrib4fvARB
static void
glVertexAttrib4uivARB(int index, int[] v)
Array version of:VertexAttrib4uivARB
static void
glVertexAttrib4uivARB(int index, java.nio.IntBuffer v)
Unsigned integer version ofVertexAttrib4fvARB
static void
glVertexAttrib4usvARB(int index, short[] v)
Array version of:VertexAttrib4usvARB
static void
glVertexAttrib4usvARB(int index, java.nio.ShortBuffer v)
Unsigned short version ofVertexAttrib4fvARB
static void
glVertexAttribPointerARB(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 void
glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, float[] pointer)
Array version of:VertexAttribPointerARB
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.static void
glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, int[] pointer)
Array version of:VertexAttribPointerARB
static void
glVertexAttribPointerARB(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 void
glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long pointer)
Specifies the location and organization of a vertex attribute array.static void
glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, short[] pointer)
Array version of:VertexAttribPointerARB
static void
glVertexAttribPointerARB(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 thecap
parameter of Disable, Enable, and IsEnabled, by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by thetarget
parameter 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 thecap
parameter of Disable, Enable, and IsEnabled, and by thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_PROGRAM_FORMAT_ASCII_ARB
Accepted by theformat
parameter 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 thepname
parameter of GetVertexAttrib[dfi]vARB.
-
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
Accepted by thepname
parameter 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 thepname
parameter of GetProgramivARB.
-
GL_PROGRAM_STRING_ARB
Accepted by thepname
parameter 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 thepname
parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_PROGRAM_ERROR_STRING_ARB
Accepted by thename
parameter 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 themode
parameter of MatrixMode.
-
-
Method Detail
-
glVertexAttrib1sARB
public static void glVertexAttrib1sARB(int index, short x)
Short version ofVertexAttrib1fARB
- Parameters:
index
- the vertex attribute indexx
- thex
attribute component
-
glVertexAttrib1fARB
public static void glVertexAttrib1fARB(int index, float x)
Specifies thex
component of the current vertex attribute numberedindex
. Componentsy
andz
are set to 0 andw
to 1.- Parameters:
index
- the vertex attribute indexx
- thex
attribute component
-
glVertexAttrib1dARB
public static void glVertexAttrib1dARB(int index, double x)
Double version ofVertexAttrib1fARB
- Parameters:
index
- the vertex attribute indexx
- thex
attribute component
-
glVertexAttrib2sARB
public static void glVertexAttrib2sARB(int index, short x, short y)
Short version ofVertexAttrib2fARB
- Parameters:
index
- the vertex attribute indexx
- thex
attribute componenty
- they
attribute component
-
glVertexAttrib2fARB
public static void glVertexAttrib2fARB(int index, float x, float y)
Specifies thex
andy
components of the current vertex attribute numberedindex
. Componentz
is set to 0 andw
to 1.- Parameters:
index
- the vertex attribute indexx
- thex
attribute componenty
- they
attribute component
-
glVertexAttrib2dARB
public static void glVertexAttrib2dARB(int index, double x, double y)
Double version ofVertexAttrib2fARB
- Parameters:
index
- the vertex attribute indexx
- thex
attribute componenty
- they
attribute component
-
glVertexAttrib3sARB
public static void glVertexAttrib3sARB(int index, short x, short y, short z)
Short version ofVertexAttrib3fARB
- Parameters:
index
- the vertex attribute indexx
- thex
attribute componenty
- they
attribute componentz
- thez
attribute component
-
glVertexAttrib3fARB
public static void glVertexAttrib3fARB(int index, float x, float y, float z)
Specifies thex
,y
andz
components of the current vertex attribute numberedindex
. Componentw
is set to 1.- Parameters:
index
- the vertex attribute indexx
- thex
attribute componenty
- they
attribute componentz
- thez
attribute component
-
glVertexAttrib3dARB
public static void glVertexAttrib3dARB(int index, double x, double y, double z)
Double version ofVertexAttrib3fARB
- Parameters:
index
- the vertex attribute indexx
- thex
attribute componenty
- they
attribute componentz
- thez
attribute 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
- thex
attribute componenty
- they
attribute componentz
- thez
attribute componentw
- thew
attribute 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
- thex
attribute componenty
- they
attribute componentz
- thez
attribute componentw
- thew
attribute 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
- thex
attribute componenty
- they
attribute componentz
- thez
attribute componentw
- thew
attribute 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
- thex
attribute componenty
- they
attribute componentz
- thez
attribute componentw
- thew
attribute 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:BYTE
SHORT
INT
UNSIGNED_BYTE
UNSIGNED_SHORT
UNSIGNED_INT
HALF_FLOAT
HALF_FLOAT_NV
FLOAT
DOUBLE
normalized
- 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_ARB
FRAGMENT_PROGRAM_ARB
format
- the format of the program string. Must be:PROGRAM_FORMAT_ASCII_ARB
string
- 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_ARB
FRAGMENT_PROGRAM_ARB
program
- the program object to bind. Ifprogram
is zero, the default program object fortarget
is bound. Ifprogram
is 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 ofn
program objects to be deleted
-
glGenProgramsARB
public static void glGenProgramsARB(java.nio.IntBuffer programs)
Returnsn
currently 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()
Returnsn
currently 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_ARB
FRAGMENT_PROGRAM_ARB
index
- the environment parameter indexx
- thex
parameter componenty
- they
parameter componentz
- thez
parameter componentw
- thew
parameter 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_ARB
FRAGMENT_PROGRAM_ARB
index
- 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 numberedindex
for the specified program targettarget
.- Parameters:
target
- the program target. One of:VERTEX_PROGRAM_ARB
FRAGMENT_PROGRAM_ARB
index
- the environment parameter indexx
- thex
parameter componenty
- they
parameter componentz
- thez
parameter componentw
- thew
parameter 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_ARB
FRAGMENT_PROGRAM_ARB
index
- 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_ARB
FRAGMENT_PROGRAM_ARB
index
- the environment parameter indexx
- thex
parameter componenty
- they
parameter componentz
- thez
parameter componentw
- thew
parameter 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_ARB
FRAGMENT_PROGRAM_ARB
index
- 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 numberedindex
for the specified program targettarget
.- Parameters:
target
- the program target. One of:VERTEX_PROGRAM_ARB
FRAGMENT_PROGRAM_ARB
index
- the environment parameter indexx
- thex
parameter componenty
- they
parameter componentz
- thez
parameter componentw
- thew
parameter 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_ARB
FRAGMENT_PROGRAM_ARB
index
- 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 numberedindex
for the specified program targettarget
, and places the information in the arrayparams
.- Parameters:
target
- the program target. One of:VERTEX_PROGRAM_ARB
FRAGMENT_PROGRAM_ARB
index
- 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_ARB
FRAGMENT_PROGRAM_ARB
index
- 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 numberedindex
for the specified program targettarget
, and places the information in the arrayparams
.- Parameters:
target
- the program target. One of:VERTEX_PROGRAM_ARB
FRAGMENT_PROGRAM_ARB
index
- 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_ARB
FRAGMENT_PROGRAM_ARB
index
- 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_ARB
FRAGMENT_PROGRAM_ARB
pname
- 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_ARB
FRAGMENT_PROGRAM_ARB
pname
- 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 totarget
and places the information in the arraystring
.n
ubytes are returned into the array program wheren
is the length of the program in ubytes, as returned byGetProgramivARB
whenpname
isPROGRAM_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_ARB
FRAGMENT_PROGRAM_ARB
pname
- the parameter to query. Must be:PROGRAM_STRING_ARB
string
- 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 bypname
for the vertex attribute numberedindex
and places the information in the arrayparams
.- Parameters:
index
- the vertex attribute indexpname
- the parameter to query. Must be:CURRENT_VERTEX_ATTRIB_ARB
params
- 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_ARB
params
- 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_ARB
VERTEX_ATTRIB_ARRAY_SIZE_ARB
VERTEX_ATTRIB_ARRAY_STRIDE_ARB
VERTEX_ATTRIB_ARRAY_TYPE_ARB
VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
CURRENT_VERTEX_ATTRIB_ARB
params
- 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_ARB
VERTEX_ATTRIB_ARRAY_SIZE_ARB
VERTEX_ATTRIB_ARRAY_STRIDE_ARB
VERTEX_ATTRIB_ARRAY_TYPE_ARB
VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
CURRENT_VERTEX_ATTRIB_ARB
-
glGetVertexAttribPointervARB
public static void glGetVertexAttribPointervARB(int index, int pname, org.lwjgl.PointerBuffer pointer)
Obtains the pointer namedpname
for vertex attribute numberedindex
and places the information in the arraypointer
.- Parameters:
index
- the vertex attribute indexpname
- the parameter to query. Must be:VERTEX_ATTRIB_ARRAY_POINTER_ARB
pointer
- an array in which to place the vertex attribute array pointer
-
glGetVertexAttribPointerARB
public static long glGetVertexAttribPointerARB(int index, int pname)
Obtains the pointer namedpname
for vertex attribute numberedindex
and 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)
ReturnsTRUE
ifprogram
is the name of a program object. Ifprogram
is 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
-
-