Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class ARBVertexProgram

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.*, org.lwjgl.system.*

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

Modifier and TypeField and Description
public static final int
GL_COLOR_SUM_ARB

Accepted by the cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_CURRENT_MATRIX_ARB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_CURRENT_MATRIX_STACK_DEPTH_ARB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_CURRENT_VERTEX_ATTRIB_ARB

Accepted by the pname parameter of GetVertexAttrib[dfi]vARB.

public static final int
GL_MATRIX0_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX10_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX11_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX12_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX13_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX14_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX15_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX16_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX17_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX18_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX19_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX1_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX20_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX21_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX22_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX23_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX24_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX25_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX26_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX27_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX28_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX29_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX2_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX30_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX31_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX3_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX4_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX5_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX6_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX7_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX8_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MATRIX9_ARB

Accepted by the mode parameter of MatrixMode.

public static final int
GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_ATTRIBS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_ENV_PARAMETERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_INSTRUCTIONS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_MATRICES_ARB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_PARAMETERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_PROGRAM_TEMPORARIES_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_MAX_VERTEX_ATTRIBS_ARB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_PROGRAM_ADDRESS_REGISTERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_ATTRIBS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_BINDING_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_ERROR_POSITION_ARB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_PROGRAM_ERROR_STRING_ARB

Accepted by the name parameter of GetString.

public static final int
GL_PROGRAM_FORMAT_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_FORMAT_ASCII_ARB

Accepted by the format parameter of ProgramStringARB.

public static final int
GL_PROGRAM_INSTRUCTIONS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_LENGTH_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_NATIVE_ATTRIBS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_NATIVE_PARAMETERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_NATIVE_TEMPORARIES_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_PARAMETERS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_STRING_ARB

Accepted by the pname parameter of GetProgramStringARB.

public static final int
GL_PROGRAM_TEMPORARIES_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB

Accepted by the pname parameter of GetProgramivARB.

public static final int
GL_TRANSPOSE_CURRENT_MATRIX_ARB

Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB

Accepted by the pname parameter of GetVertexAttrib[dfi]vARB.

public static final int
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB

Accepted by the pname parameter of GetVertexAttrib[dfi]vARB.

public static final int
GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB

Accepted by the pname parameter of GetVertexAttribPointervARB.

public static final int
GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB

Accepted by the pname parameter of GetVertexAttrib[dfi]vARB.

public static final int
GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB

Accepted by the pname parameter of GetVertexAttrib[dfi]vARB.

public static final int
GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB

Accepted by the pname parameter of GetVertexAttrib[dfi]vARB.

public static final int
GL_VERTEX_PROGRAM_ARB

Accepted by the cap parameter of Disable, Enable, and IsEnabled, by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by the target parameter of ProgramStringARB, BindProgramARB, ProgramEnvParameter4[df][v]ARB, ProgramLocalParameter4[df][v]ARB, GetProgramEnvParameter[df]vARB, GetProgramLocalParameter[df]vARB, GetProgramivARB, and GetProgramStringARB.

public static final int
GL_VERTEX_PROGRAM_POINT_SIZE_ARB

Accepted by the cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_VERTEX_PROGRAM_TWO_SIDE_ARB

Accepted by the cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glBindProgramARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the program object to bind. If program is zero, the default program object for target is bound. If program is the name of an existing program object whose associated program target is target, the named program object is bound.
program
)

Creates a named program object by binding an unused program object name to a valid program target.

public static void
glDeleteProgramsARB(IntBuffer
an array of n program objects to be deleted
programs
)

Deletes program objects.

public static void
glDeleteProgramsARB(int[] programs)

Array version of: DeleteProgramsARB

public static void
glDisableVertexAttribArrayARB(int
the index of the generic vertex attribute to be disabled
index
)

Disables a generic vertex attribute array.

public static void
glEnableVertexAttribArrayARB(int
the index of the generic vertex attribute to be enabled
index
)

Enables a generic vertex attribute array.

public static void
glGenProgramsARB(IntBuffer
an array in which to return the generated program names
programs
)

Returns n currently unused program names in programs.

public static int
glGenProgramsARB()

Returns n currently unused program names in programs.

public static void
glGenProgramsARB(int[] programs)

Array version of: GenProgramsARB

public static void
glGetProgramEnvParameterdvARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
DoubleBuffer
a buffer in which to place the current parameter value
params
)

Double version of GetProgramEnvParameterfvARB.

public static void
glGetProgramEnvParameterdvARB(int target, int index, double[] params)

Array version of: GetProgramEnvParameterdvARB

public static void
glGetProgramEnvParameterfvARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
FloatBuffer
a buffer in which to place the current parameter value
params
)

Obtain the current value for the program environment parameter numbered index for the specified program target target, and places the information in the array params.

public static void
glGetProgramEnvParameterfvARB(int target, int index, float[] params)

Array version of: GetProgramEnvParameterfvARB

public static int
public static void
public static void
glGetProgramivARB(int target, int pname, int[] params)

Array version of: GetProgramivARB

public static void
glGetProgramLocalParameterdvARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
DoubleBuffer
a buffer in which to place the current parameter value
params
)

Double version of GetProgramLocalParameterfvARB.

public static void
glGetProgramLocalParameterdvARB(int target, int index, double[] params)

Array version of: GetProgramLocalParameterdvARB

public static void
glGetProgramLocalParameterfvARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
FloatBuffer
a buffer in which to place the current parameter value
params
)

Obtain the current value for the program local parameter numbered index for the specified program target target, and places the information in the array params.

public static void
glGetProgramLocalParameterfvARB(int target, int index, float[] params)

Array version of: GetProgramLocalParameterfvARB

public static void
glGetProgramStringARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the parameter to query. Must be:
PROGRAM_STRING_ARB
pname
,
ByteBuffer
an array in which to place the program string
string
)

Obtains the program string for the program object bound to target and places the information in the array string.

public static void
glGetVertexAttribdvARB(int
the generic vertex attribute parameter to be queried
index
,
int
the symbolic name of the vertex attribute parameter to be queried
pname
,
DoubleBuffer
returns the requested data
params
)

Double version of GetVertexAttribivARB.

public static void
glGetVertexAttribdvARB(int index, int pname, double[] params)

Array version of: GetVertexAttribdvARB

public static void
glGetVertexAttribfvARB(int
the generic vertex attribute parameter to be queried
index
,
int
the symbolic name of the vertex attribute parameter to be queried
pname
,
FloatBuffer
returns the requested data
params
)

Float version of GetVertexAttribivARB.

public static void
glGetVertexAttribfvARB(int index, int pname, float[] params)

Array version of: GetVertexAttribfvARB

public static int
glGetVertexAttribiARB(int
the generic vertex attribute parameter to be queried
index
,
int pname)

Returns the integer value of a generic vertex attribute parameter.

public static void
glGetVertexAttribivARB(int
the generic vertex attribute parameter to be queried
index
,
int pname, IntBuffer
returns the requested data
params
)

Returns the integer value of a generic vertex attribute parameter.

public static void
glGetVertexAttribivARB(int index, int pname, int[] params)

Array version of: GetVertexAttribivARB

public static long
glGetVertexAttribPointerARB(int
the generic vertex attribute parameter to be queried
index
,
int
the symbolic name of the generic vertex attribute parameter to be returned. Must be:
VERTEX_ATTRIB_ARRAY_POINTER_ARB
pname
)

Returns the address of the specified generic vertex attribute pointer.

public static void
glGetVertexAttribPointervARB(int
the generic vertex attribute parameter to be queried
index
,
int
the symbolic name of the generic vertex attribute parameter to be returned. Must be:
VERTEX_ATTRIB_ARRAY_POINTER_ARB
pname
,
PointerBuffer
the pointer value
pointer
)

Returns the address of the specified generic vertex attribute pointer.

public static native boolean
glIsProgramARB(int
the program name
program
)

Returns TRUE if program is the name of a program object.

public static native void
glProgramEnvParameter4dARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
double
the x parameter component
x
,
double
the y parameter component
y
,
double
the z parameter component
z
,
double
the w parameter component
w
)

Double version of ProgramEnvParameter4fARB.

public static void
glProgramEnvParameter4dvARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
DoubleBuffer
a buffer from which to read the parameter value
params
)

Pointer version of ProgramEnvParameter4dARB

public static void
glProgramEnvParameter4dvARB(int target, int index, double[] params)

Array version of: ProgramEnvParameter4dvARB

public static native void
glProgramEnvParameter4fARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
float
the x parameter component
x
,
float
the y parameter component
y
,
float
the z parameter component
z
,
float
the w parameter component
w
)

Updates the values of the program environment parameter numbered index for the specified program target target.

public static void
glProgramEnvParameter4fvARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
FloatBuffer
a buffer from which to read the parameter value
params
)

Pointer version of ProgramEnvParameter4fARB.

public static void
glProgramEnvParameter4fvARB(int target, int index, float[] params)

Array version of: ProgramEnvParameter4fvARB

public static native void
glProgramLocalParameter4dARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
double
the x parameter component
x
,
double
the y parameter component
y
,
double
the z parameter component
z
,
double
the w parameter component
w
)

Double version of ProgramLocalParameter4fARB.

public static void
glProgramLocalParameter4dvARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
DoubleBuffer
a buffer from which to read the parameter value
params
)

Pointer version of ProgramLocalParameter4dARB.

public static void
glProgramLocalParameter4dvARB(int target, int index, double[] params)

Array version of: ProgramLocalParameter4dvARB

public static native void
glProgramLocalParameter4fARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
float
the x parameter component
x
,
float
the y parameter component
y
,
float
the z parameter component
z
,
float
the w parameter component
w
)

Updates the values of the program local parameter numbered index for the specified program target target.

public static void
glProgramLocalParameter4fvARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the environment parameter index
index
,
FloatBuffer
a buffer from which to read the parameter value
params
)

Pointer version of ProgramLocalParameter4fARB.

public static void
glProgramLocalParameter4fvARB(int target, int index, float[] params)

Array version of: ProgramLocalParameter4fvARB

public static void
glProgramStringARB(int
the program target. One of:
VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
target
,
int
the format of the program string. Must be:
PROGRAM_FORMAT_ASCII_ARB
format
,
ByteBuffer
an array of bytes representing the program string being loaded
string
)

Updates the program string for the current program object for target.

public static void
glVertexAttrib1dARB(int
the index of the generic vertex attribute to be modified
index
,
double
the vertex attribute x component
v0
)

Double version of VertexAttrib1fARB.

public static void
glVertexAttrib1dvARB(int
the index of the generic vertex attribute to be modified
index
,
DoubleBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib1dARB.

public static void
glVertexAttrib1dvARB(int index, double[] v)

Array version of: VertexAttrib1dvARB

public static void
glVertexAttrib1fARB(int
the index of the generic vertex attribute to be modified
index
,
float
the vertex attribute x component
v0
)

Specifies the value of a generic vertex attribute.

public static void
glVertexAttrib1fvARB(int
the index of the generic vertex attribute to be modified
index
,
FloatBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib1fARB.

public static void
glVertexAttrib1fvARB(int index, float[] v)

Array version of: VertexAttrib1fvARB

public static void
glVertexAttrib1sARB(int
the index of the generic vertex attribute to be modified
index
,
short
the vertex attribute x component
v0
)

Short version of VertexAttrib1fARB.

public static void
glVertexAttrib1svARB(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib1sARB.

public static void
glVertexAttrib1svARB(int index, short[] v)

Array version of: VertexAttrib1svARB

public static void
glVertexAttrib2dARB(int
the index of the generic vertex attribute to be modified
index
,
double
the vertex attribute x component
v0
,
double
the vertex attribute y component
v1
)

Double version of VertexAttrib2fARB.

public static void
glVertexAttrib2dvARB(int
the index of the generic vertex attribute to be modified
index
,
DoubleBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib2dARB.

public static void
glVertexAttrib2dvARB(int index, double[] v)

Array version of: VertexAttrib2dvARB

public static void
glVertexAttrib2fARB(int
the index of the generic vertex attribute to be modified
index
,
float
the vertex attribute x component
v0
,
float
the vertex attribute y component
v1
)

Specifies the value of a generic vertex attribute.

public static void
glVertexAttrib2fvARB(int
the index of the generic vertex attribute to be modified
index
,
FloatBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib2fARB.

public static void
glVertexAttrib2fvARB(int index, float[] v)

Array version of: VertexAttrib2fvARB

public static void
glVertexAttrib2sARB(int
the index of the generic vertex attribute to be modified
index
,
short
the vertex attribute x component
v0
,
short
the vertex attribute y component
v1
)

Short version of VertexAttrib2fARB.

public static void
glVertexAttrib2svARB(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib2sARB.

public static void
glVertexAttrib2svARB(int index, short[] v)

Array version of: VertexAttrib2svARB

public static void
glVertexAttrib3dARB(int
the index of the generic vertex attribute to be modified
index
,
double
the vertex attribute x component
v0
,
double
the vertex attribute y component
v1
,
double
the vertex attribute z component
v2
)

Double version of VertexAttrib3fARB.

public static void
glVertexAttrib3dvARB(int
the index of the generic vertex attribute to be modified
index
,
DoubleBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib3dARB.

public static void
glVertexAttrib3dvARB(int index, double[] v)

Array version of: VertexAttrib3dvARB

public static void
glVertexAttrib3fARB(int
the index of the generic vertex attribute to be modified
index
,
float
the vertex attribute x component
v0
,
float
the vertex attribute y component
v1
,
float
the vertex attribute z component
v2
)

Specifies the value of a generic vertex attribute.

public static void
glVertexAttrib3fvARB(int
the index of the generic vertex attribute to be modified
index
,
FloatBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib3fARB.

public static void
glVertexAttrib3fvARB(int index, float[] v)

Array version of: VertexAttrib3fvARB

public static void
glVertexAttrib3sARB(int
the index of the generic vertex attribute to be modified
index
,
short
the vertex attribute x component
v0
,
short
the vertex attribute y component
v1
,
short
the vertex attribute z component
v2
)

Short version of VertexAttrib3fARB.

public static void
glVertexAttrib3svARB(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib3sARB.

public static void
glVertexAttrib3svARB(int index, short[] v)

Array version of: VertexAttrib3svARB

public static void
glVertexAttrib4bvARB(int
the index of the generic vertex attribute to be modified
index
,
ByteBuffer
the vertex attribute buffer
v
)

Byte pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4dARB(int
the index of the generic vertex attribute to be modified
index
,
double
the vertex attribute x component
v0
,
double
the vertex attribute y component
v1
,
double
the vertex attribute z component
v2
,
double
the vertex attribute w component
v3
)

Double version of VertexAttrib4fARB.

public static void
glVertexAttrib4dvARB(int
the index of the generic vertex attribute to be modified
index
,
DoubleBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib4dARB.

public static void
glVertexAttrib4dvARB(int index, double[] v)

Array version of: VertexAttrib4dvARB

public static void
glVertexAttrib4fARB(int
the index of the generic vertex attribute to be modified
index
,
float
the vertex attribute x component
v0
,
float
the vertex attribute y component
v1
,
float
the vertex attribute z component
v2
,
float
the vertex attribute w component
v3
)

Specifies the value of a generic vertex attribute.

public static void
glVertexAttrib4fvARB(int
the index of the generic vertex attribute to be modified
index
,
FloatBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4fvARB(int index, float[] v)

Array version of: VertexAttrib4fvARB

public static void
glVertexAttrib4ivARB(int
the index of the generic vertex attribute to be modified
index
,
IntBuffer
the vertex attribute buffer
v
)

Integer pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4ivARB(int index, int[] v)

Array version of: VertexAttrib4ivARB

public static void
glVertexAttrib4NbvARB(int
the index of the generic vertex attribute to be modified
index
,
ByteBuffer
the vertex attribute buffer
v
)

Normalized byte pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4NivARB(int
the index of the generic vertex attribute to be modified
index
,
IntBuffer
the vertex attribute buffer
v
)

Normalized int pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4NivARB(int index, int[] v)

Array version of: VertexAttrib4NivARB

public static void
glVertexAttrib4NsvARB(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Normalized short pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4NsvARB(int index, short[] v)

Array version of: VertexAttrib4NsvARB

public static void
glVertexAttrib4NubARB(int
the index of the generic vertex attribute to be modified
index
,
byte
the vertex attribute x component
x
,
byte
the vertex attribute y component
y
,
byte
the vertex attribute z component
z
,
byte
the vertex attribute w component
w
)

Normalized unsigned byte version of VertexAttrib4fARB.

public static void
glVertexAttrib4NubvARB(int
the index of the generic vertex attribute to be modified
index
,
ByteBuffer
the vertex attribute buffer
v
)

Normalized unsigned byte pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4NuivARB(int
the index of the generic vertex attribute to be modified
index
,
IntBuffer
the vertex attribute buffer
v
)

Normalized unsigned int pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4NuivARB(int index, int[] v)

Array version of: VertexAttrib4NuivARB

public static void
glVertexAttrib4NusvARB(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Normalized unsigned short pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4NusvARB(int index, short[] v)

Array version of: VertexAttrib4NusvARB

public static void
glVertexAttrib4sARB(int
the index of the generic vertex attribute to be modified
index
,
short
the vertex attribute x component
v0
,
short
the vertex attribute y component
v1
,
short
the vertex attribute z component
v2
,
short
the vertex attribute w component
v3
)

Short version of VertexAttrib4fARB.

public static void
glVertexAttrib4svARB(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib4sARB.

public static void
glVertexAttrib4svARB(int index, short[] v)

Array version of: VertexAttrib4svARB

public static void
glVertexAttrib4ubvARB(int
the index of the generic vertex attribute to be modified
index
,
ByteBuffer
the vertex attribute buffer
v
)

Pointer version of VertexAttrib4NubARB.

public static void
glVertexAttrib4uivARB(int
the index of the generic vertex attribute to be modified
index
,
IntBuffer
the vertex attribute buffer
v
)

Unsigned int pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4uivARB(int index, int[] v)

Array version of: VertexAttrib4uivARB

public static void
glVertexAttrib4usvARB(int
the index of the generic vertex attribute to be modified
index
,
ShortBuffer
the vertex attribute buffer
v
)

Unsigned short pointer version of VertexAttrib4fARB.

public static void
glVertexAttrib4usvARB(int index, short[] v)

Array version of: VertexAttrib4usvARB

public static void
glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
stride
,
ByteBuffer
the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

public static void
glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
stride
,
long
the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

public static void
glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
stride
,
ShortBuffer
the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

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

Specifies the location and organization of a vertex attribute array.

public static void
glVertexAttribPointerARB(int
the index of the generic vertex attribute to be modified
index
,
int
the number of values per vertex that are stored in the array. The initial value is 4. One of:
1234BGRA
size
,
int
the data type of each component in the array. The initial value is GL_FLOAT. One of:
BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOAT
DOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXED
type
,
boolean
whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessed
normalized
,
int
the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in the array. The initial value is 0.
stride
,
FloatBuffer
the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer currently bound to the ARRAY_BUFFER target. The initial value is 0.
pointer
)

Specifies the location and organization of a vertex attribute array.

public static void
glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, short[] pointer)

Array version of: VertexAttribPointerARB

public static void
glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, int[] pointer)

Array version of: VertexAttribPointerARB

public static void
glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, float[] pointer)

Array version of: VertexAttribPointerARB

public static native void
nglDeleteProgramsARB(int
the number of program object to delete
n
,
long programs)

Unsafe version of: DeleteProgramsARB

public static native void
nglGenProgramsARB(int
the number of program names to genereate
n
,
long programs)

Unsafe version of: GenProgramsARB

public static native void
nglGetProgramEnvParameterdvARB(int target, int index, long params)

Unsafe version of: GetProgramEnvParameterdvARB

public static native void
nglGetProgramEnvParameterfvARB(int target, int index, long params)

Unsafe version of: GetProgramEnvParameterfvARB

public static native void
nglGetProgramivARB(int target, int pname, long params)

Unsafe version of: GetProgramivARB

public static native void
nglGetProgramLocalParameterdvARB(int target, int index, long params)

Unsafe version of: GetProgramLocalParameterdvARB

public static native void
nglGetProgramLocalParameterfvARB(int target, int index, long params)

Unsafe version of: GetProgramLocalParameterfvARB

public static native void
nglGetProgramStringARB(int target, int pname, long string)

Unsafe version of: GetProgramStringARB

public static void
nglGetVertexAttribdvARB(int index, int pname, long params)

Unsafe version of: GetVertexAttribdvARB

public static void
nglGetVertexAttribfvARB(int index, int pname, long params)

Unsafe version of: GetVertexAttribfvARB

public static void
nglGetVertexAttribivARB(int index, int pname, long params)

Unsafe version of: GetVertexAttribivARB

public static void
nglGetVertexAttribPointervARB(int index, int pname, long pointer)

Unsafe version of: GetVertexAttribPointervARB

public static native void
nglProgramEnvParameter4dvARB(int target, int index, long params)

Unsafe version of: ProgramEnvParameter4dvARB

public static native void
nglProgramEnvParameter4fvARB(int target, int index, long params)

Unsafe version of: ProgramEnvParameter4fvARB

public static native void
nglProgramLocalParameter4dvARB(int target, int index, long params)

Unsafe version of: ProgramLocalParameter4dvARB

public static native void
nglProgramLocalParameter4fvARB(int target, int index, long params)

Unsafe version of: ProgramLocalParameter4fvARB

public static native void
nglProgramStringARB(int target, int format, int
the length of the program string, excluding the null-terminator
len
,
long string)

Unsafe version of: ProgramStringARB

public static void
nglVertexAttrib1dvARB(int index, long v)

Unsafe version of: VertexAttrib1dvARB

public static void
nglVertexAttrib1fvARB(int index, long v)

Unsafe version of: VertexAttrib1fvARB

public static void
nglVertexAttrib1svARB(int index, long v)

Unsafe version of: VertexAttrib1svARB

public static void
nglVertexAttrib2dvARB(int index, long v)

Unsafe version of: VertexAttrib2dvARB

public static void
nglVertexAttrib2fvARB(int index, long v)

Unsafe version of: VertexAttrib2fvARB

public static void
nglVertexAttrib2svARB(int index, long v)

Unsafe version of: VertexAttrib2svARB

public static void
nglVertexAttrib3dvARB(int index, long v)

Unsafe version of: VertexAttrib3dvARB

public static void
nglVertexAttrib3fvARB(int index, long v)

Unsafe version of: VertexAttrib3fvARB

public static void
nglVertexAttrib3svARB(int index, long v)

Unsafe version of: VertexAttrib3svARB

public static void
nglVertexAttrib4bvARB(int index, long v)

Unsafe version of: VertexAttrib4bvARB

public static void
nglVertexAttrib4dvARB(int index, long v)

Unsafe version of: VertexAttrib4dvARB

public static void
nglVertexAttrib4fvARB(int index, long v)

Unsafe version of: VertexAttrib4fvARB

public static void
nglVertexAttrib4ivARB(int index, long v)

Unsafe version of: VertexAttrib4ivARB

public static void
nglVertexAttrib4NbvARB(int index, long v)

Unsafe version of: VertexAttrib4NbvARB

public static void
nglVertexAttrib4NivARB(int index, long v)

Unsafe version of: VertexAttrib4NivARB

public static void
nglVertexAttrib4NsvARB(int index, long v)

Unsafe version of: VertexAttrib4NsvARB

public static void
nglVertexAttrib4NubvARB(int index, long v)

Unsafe version of: VertexAttrib4NubvARB

public static void
nglVertexAttrib4NuivARB(int index, long v)

Unsafe version of: VertexAttrib4NuivARB

public static void
nglVertexAttrib4NusvARB(int index, long v)

Unsafe version of: VertexAttrib4NusvARB

public static void
nglVertexAttrib4svARB(int index, long v)

Unsafe version of: VertexAttrib4svARB

public static void
nglVertexAttrib4ubvARB(int index, long v)

Unsafe version of: VertexAttrib4ubvARB

public static void
nglVertexAttrib4uivARB(int index, long v)

Unsafe version of: VertexAttrib4uivARB

public static void
nglVertexAttrib4usvARB(int index, long v)

Unsafe version of: VertexAttrib4usvARB

public static void
nglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long pointer)

Unsafe version of: VertexAttribPointerARB

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait