Class ARBVertexProgram

java.lang.Object
org.lwjgl.opengl.ARBVertexProgram

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

    • GL_VERTEX_PROGRAM_ARB

      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.
      See Also:
    • GL_VERTEX_PROGRAM_POINT_SIZE_ARB

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

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

      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.
      See Also:
    • GL_PROGRAM_FORMAT_ASCII_ARB

      public static final int GL_PROGRAM_FORMAT_ASCII_ARB
      Accepted by the format parameter of ProgramStringARB.
      See Also:
    • GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB

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

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

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

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

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

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

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

      public static final int GL_PROGRAM_LENGTH_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_FORMAT_ARB

      public static final int GL_PROGRAM_FORMAT_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_BINDING_ARB

      public static final int GL_PROGRAM_BINDING_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_INSTRUCTIONS_ARB

      public static final int GL_PROGRAM_INSTRUCTIONS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_INSTRUCTIONS_ARB

      public static final int GL_MAX_PROGRAM_INSTRUCTIONS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB

      public static final int GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB

      public static final int GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_TEMPORARIES_ARB

      public static final int GL_PROGRAM_TEMPORARIES_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_TEMPORARIES_ARB

      public static final int GL_MAX_PROGRAM_TEMPORARIES_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_NATIVE_TEMPORARIES_ARB

      public static final int GL_PROGRAM_NATIVE_TEMPORARIES_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB

      public static final int GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_PARAMETERS_ARB

      public static final int GL_PROGRAM_PARAMETERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_PARAMETERS_ARB

      public static final int GL_MAX_PROGRAM_PARAMETERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_NATIVE_PARAMETERS_ARB

      public static final int GL_PROGRAM_NATIVE_PARAMETERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB

      public static final int GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_ATTRIBS_ARB

      public static final int GL_PROGRAM_ATTRIBS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_ATTRIBS_ARB

      public static final int GL_MAX_PROGRAM_ATTRIBS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_NATIVE_ATTRIBS_ARB

      public static final int GL_PROGRAM_NATIVE_ATTRIBS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB

      public static final int GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_ADDRESS_REGISTERS_ARB

      public static final int GL_PROGRAM_ADDRESS_REGISTERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB

      public static final int GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB

      public static final int GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB

      public static final int GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB

      public static final int GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_MAX_PROGRAM_ENV_PARAMETERS_ARB

      public static final int GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB

      public static final int GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
      Accepted by the pname parameter of GetProgramivARB.
      See Also:
    • GL_PROGRAM_STRING_ARB

      public static final int GL_PROGRAM_STRING_ARB
      Accepted by the pname parameter of GetProgramStringARB.
      See Also:
    • GL_PROGRAM_ERROR_POSITION_ARB

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

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

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

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

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

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

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

      public static final int GL_PROGRAM_ERROR_STRING_ARB
      Accepted by the name parameter of GetString.
      See Also:
    • GL_MATRIX0_ARB

      public static final int GL_MATRIX0_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX1_ARB

      public static final int GL_MATRIX1_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX2_ARB

      public static final int GL_MATRIX2_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX3_ARB

      public static final int GL_MATRIX3_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX4_ARB

      public static final int GL_MATRIX4_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX5_ARB

      public static final int GL_MATRIX5_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX6_ARB

      public static final int GL_MATRIX6_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX7_ARB

      public static final int GL_MATRIX7_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX8_ARB

      public static final int GL_MATRIX8_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX9_ARB

      public static final int GL_MATRIX9_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX10_ARB

      public static final int GL_MATRIX10_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX11_ARB

      public static final int GL_MATRIX11_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX12_ARB

      public static final int GL_MATRIX12_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX13_ARB

      public static final int GL_MATRIX13_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX14_ARB

      public static final int GL_MATRIX14_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX15_ARB

      public static final int GL_MATRIX15_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX16_ARB

      public static final int GL_MATRIX16_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX17_ARB

      public static final int GL_MATRIX17_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX18_ARB

      public static final int GL_MATRIX18_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX19_ARB

      public static final int GL_MATRIX19_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX20_ARB

      public static final int GL_MATRIX20_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX21_ARB

      public static final int GL_MATRIX21_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX22_ARB

      public static final int GL_MATRIX22_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX23_ARB

      public static final int GL_MATRIX23_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX24_ARB

      public static final int GL_MATRIX24_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX25_ARB

      public static final int GL_MATRIX25_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX26_ARB

      public static final int GL_MATRIX26_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX27_ARB

      public static final int GL_MATRIX27_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX28_ARB

      public static final int GL_MATRIX28_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX29_ARB

      public static final int GL_MATRIX29_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX30_ARB

      public static final int GL_MATRIX30_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
    • GL_MATRIX31_ARB

      public static final int GL_MATRIX31_ARB
      Accepted by the mode parameter of MatrixMode.
      See Also:
  • Method Details

    • glVertexAttrib1sARB

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

      public static void glVertexAttrib1fARB(int index, float v0)
      Specifies the value of a generic vertex attribute. The y and z components are implicitly set to 0.0f and w to 1.0f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
    • glVertexAttrib1dARB

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

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

      public static void glVertexAttrib2fARB(int index, float v0, float v1)
      Specifies the value of a generic vertex attribute. The y component is implicitly set to 0.0f and w to 1.0f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
    • glVertexAttrib2dARB

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

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

      public static void glVertexAttrib3fARB(int index, float v0, float v1, float v2)
      Specifies the value of a generic vertex attribute. The w is implicitly set to 1.0f.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
    • glVertexAttrib3dARB

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

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

      public static void glVertexAttrib4fARB(int index, float v0, float v1, float v2, float v3)
      Specifies the value of a generic vertex attribute.
      Parameters:
      index - the index of the generic vertex attribute to be modified
      v0 - the vertex attribute x component
      v1 - the vertex attribute y component
      v2 - the vertex attribute z component
      v3 - the vertex attribute w component
    • glVertexAttrib4dARB

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static void nglVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, long pointer)
      Unsafe version of: VertexAttribPointerARB
    • glVertexAttribPointerARB

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

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

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

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

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

      public static void glEnableVertexAttribArrayARB(int index)
      Enables a generic vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be enabled
    • glDisableVertexAttribArrayARB

      public static void glDisableVertexAttribArrayARB(int index)
      Disables a generic vertex attribute array.
      Parameters:
      index - the index of the generic vertex attribute to be disabled
    • nglProgramStringARB

      public static void nglProgramStringARB(int target, int format, int len, long string)
      Unsafe version of: ProgramStringARB
      Parameters:
      len - the length of the program string, excluding the null-terminator
    • glProgramStringARB

      public static void glProgramStringARB(int target, int format, ByteBuffer string)
      Updates the program string for the current program object for target.

      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 error INVALID_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 of len. If a program loads successfully, the error position is set to the value negative one. The implementation-dependent program error string contains one or more error or warning messages. If a program loads succesfully, the error string may either contain warning messages or be empty.

      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_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_ARBFRAGMENT_PROGRAM_ARB
      program - 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.
    • nglDeleteProgramsARB

      public static void nglDeleteProgramsARB(int n, long programs)
      Unsafe version of: DeleteProgramsARB
      Parameters:
      n - the number of program object to delete
    • glDeleteProgramsARB

      public static void glDeleteProgramsARB(IntBuffer programs)
      Deletes program objects.
      Parameters:
      programs - an array of n program objects to be deleted
    • nglGenProgramsARB

      public static void nglGenProgramsARB(int n, long programs)
      Unsafe version of: GenProgramsARB
      Parameters:
      n - the number of program names to genereate
    • glGenProgramsARB

      public static void glGenProgramsARB(IntBuffer programs)
      Returns n currently unused program names in programs. These names are marked as used, for the purposes of GenProgramsARB only, but objects are created only when they are first bound using BindProgramARB.
      Parameters:
      programs - an array in which to return the generated program names
    • glGenProgramsARB

      public static int glGenProgramsARB()
      Returns n currently unused program names in programs. These names are marked as used, for the purposes of GenProgramsARB only, but objects are created only when they are first bound using BindProgramARB.
    • glProgramEnvParameter4dARB

      public static void glProgramEnvParameter4dARB(int target, int index, double x, double y, double z, double w)
      Double version of ProgramEnvParameter4fARB.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      x - the x parameter component
      y - the y parameter component
      z - the z parameter component
      w - the w parameter component
    • nglProgramEnvParameter4dvARB

      public static void nglProgramEnvParameter4dvARB(int target, int index, long params)
      Unsafe version of: ProgramEnvParameter4dvARB
    • glProgramEnvParameter4dvARB

      public static void glProgramEnvParameter4dvARB(int target, int index, DoubleBuffer params)
      Pointer version of ProgramEnvParameter4dARB
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      params - 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 numbered index for the specified program target target.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      x - the x parameter component
      y - the y parameter component
      z - the z parameter component
      w - the w parameter component
    • nglProgramEnvParameter4fvARB

      public static void nglProgramEnvParameter4fvARB(int target, int index, long params)
      Unsafe version of: ProgramEnvParameter4fvARB
    • glProgramEnvParameter4fvARB

      public static void glProgramEnvParameter4fvARB(int target, int index, FloatBuffer params)
      Pointer version of ProgramEnvParameter4fARB.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      params - 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 of ProgramLocalParameter4fARB.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      x - the x parameter component
      y - the y parameter component
      z - the z parameter component
      w - the w parameter component
    • nglProgramLocalParameter4dvARB

      public static void nglProgramLocalParameter4dvARB(int target, int index, long params)
      Unsafe version of: ProgramLocalParameter4dvARB
    • glProgramLocalParameter4dvARB

      public static void glProgramLocalParameter4dvARB(int target, int index, DoubleBuffer params)
      Pointer version of ProgramLocalParameter4dARB.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      params - 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 numbered index for the specified program target target.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      x - the x parameter component
      y - the y parameter component
      z - the z parameter component
      w - the w parameter component
    • nglProgramLocalParameter4fvARB

      public static void nglProgramLocalParameter4fvARB(int target, int index, long params)
      Unsafe version of: ProgramLocalParameter4fvARB
    • glProgramLocalParameter4fvARB

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

      public static void nglGetProgramEnvParameterfvARB(int target, int index, long params)
      Unsafe version of: GetProgramEnvParameterfvARB
    • glGetProgramEnvParameterfvARB

      public static void glGetProgramEnvParameterfvARB(int target, int index, FloatBuffer 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.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      params - a buffer in which to place the current parameter value
    • nglGetProgramEnvParameterdvARB

      public static void nglGetProgramEnvParameterdvARB(int target, int index, long params)
      Unsafe version of: GetProgramEnvParameterdvARB
    • glGetProgramEnvParameterdvARB

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

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

      public static void glGetProgramLocalParameterfvARB(int target, int index, FloatBuffer 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.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      index - the environment parameter index
      params - a buffer in which to place the current parameter value
    • nglGetProgramLocalParameterdvARB

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

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

      public static void nglGetProgramivARB(int target, int pname, long params)
      Unsafe version of: GetProgramivARB
    • glGetProgramivARB

      public static void glGetProgramivARB(int target, int pname, IntBuffer params)
      Obtains program state for the program target target, writing the state into the array given by params. GetProgramivARB can be used to determine the properties of the currently bound program object or implementation limits for target.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      pname - the parameter to query. One of:
      PROGRAM_LENGTH_ARBPROGRAM_FORMAT_ARB
      PROGRAM_BINDING_ARBPROGRAM_INSTRUCTIONS_ARB
      MAX_PROGRAM_INSTRUCTIONS_ARBPROGRAM_NATIVE_INSTRUCTIONS_ARB
      MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARBPROGRAM_TEMPORARIES_ARB
      MAX_PROGRAM_TEMPORARIES_ARBPROGRAM_NATIVE_TEMPORARIES_ARB
      MAX_PROGRAM_NATIVE_TEMPORARIES_ARBPROGRAM_PARAMETERS_ARB
      MAX_PROGRAM_PARAMETERS_ARBPROGRAM_NATIVE_PARAMETERS_ARB
      MAX_PROGRAM_NATIVE_PARAMETERS_ARBPROGRAM_ATTRIBS_ARB
      MAX_PROGRAM_ATTRIBS_ARBPROGRAM_NATIVE_ATTRIBS_ARB
      MAX_PROGRAM_NATIVE_ATTRIBS_ARBPROGRAM_ADDRESS_REGISTERS_ARB
      MAX_PROGRAM_ADDRESS_REGISTERS_ARBPROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
      MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARBMAX_PROGRAM_LOCAL_PARAMETERS_ARB
      MAX_PROGRAM_ENV_PARAMETERS_ARBPROGRAM_UNDER_NATIVE_LIMITS_ARB
      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 target target, writing the state into the array given by params. GetProgramivARB can be used to determine the properties of the currently bound program object or implementation limits for target.
      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      pname - the parameter to query. One of:
      PROGRAM_LENGTH_ARBPROGRAM_FORMAT_ARB
      PROGRAM_BINDING_ARBPROGRAM_INSTRUCTIONS_ARB
      MAX_PROGRAM_INSTRUCTIONS_ARBPROGRAM_NATIVE_INSTRUCTIONS_ARB
      MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARBPROGRAM_TEMPORARIES_ARB
      MAX_PROGRAM_TEMPORARIES_ARBPROGRAM_NATIVE_TEMPORARIES_ARB
      MAX_PROGRAM_NATIVE_TEMPORARIES_ARBPROGRAM_PARAMETERS_ARB
      MAX_PROGRAM_PARAMETERS_ARBPROGRAM_NATIVE_PARAMETERS_ARB
      MAX_PROGRAM_NATIVE_PARAMETERS_ARBPROGRAM_ATTRIBS_ARB
      MAX_PROGRAM_ATTRIBS_ARBPROGRAM_NATIVE_ATTRIBS_ARB
      MAX_PROGRAM_NATIVE_ATTRIBS_ARBPROGRAM_ADDRESS_REGISTERS_ARB
      MAX_PROGRAM_ADDRESS_REGISTERS_ARBPROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
      MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARBMAX_PROGRAM_LOCAL_PARAMETERS_ARB
      MAX_PROGRAM_ENV_PARAMETERS_ARBPROGRAM_UNDER_NATIVE_LIMITS_ARB
    • nglGetProgramStringARB

      public static void nglGetProgramStringARB(int target, int pname, long string)
      Unsafe version of: GetProgramStringARB
    • glGetProgramStringARB

      public static void glGetProgramStringARB(int target, int pname, ByteBuffer string)
      Obtains the program string for the program object bound to target and places the information in the array string.

      n ubytes are returned into the array program where n is the length of the program in ubytes, as returned by GetProgramivARB when pname is PROGRAM_LENGTH_ARB. The program string is always returned using the format given when the program string was specified.

      Parameters:
      target - the program target. One of:
      VERTEX_PROGRAM_ARBFRAGMENT_PROGRAM_ARB
      pname - the parameter to query. Must be:
      PROGRAM_STRING_ARB
      string - an array in which to place the program string
    • nglGetVertexAttribfvARB

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

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

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

      public static void glGetVertexAttribdvARB(int index, int pname, DoubleBuffer params)
      Double version of GetVertexAttribivARB.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried
      params - returns the requested data
    • nglGetVertexAttribivARB

      public static void nglGetVertexAttribivARB(int index, int pname, long params)
      Unsafe version of: GetVertexAttribivARB
    • glGetVertexAttribivARB

      public static void glGetVertexAttribivARB(int index, int pname, IntBuffer params)
      Returns the integer value of a generic vertex attribute parameter.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried. One of:
      VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGVERTEX_ATTRIB_ARRAY_ENABLED_ARB
      VERTEX_ATTRIB_ARRAY_SIZE_ARBVERTEX_ATTRIB_ARRAY_STRIDE_ARB
      VERTEX_ATTRIB_ARRAY_TYPE_ARBVERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
      CURRENT_VERTEX_ATTRIB_ARBVERTEX_ATTRIB_ARRAY_INTEGER
      VERTEX_ATTRIB_ARRAY_DIVISOR
      params - returns the requested data
    • glGetVertexAttribiARB

      public static int glGetVertexAttribiARB(int index, int pname)
      Returns the integer value of a generic vertex attribute parameter.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the vertex attribute parameter to be queried. One of:
      VERTEX_ATTRIB_ARRAY_BUFFER_BINDINGVERTEX_ATTRIB_ARRAY_ENABLED_ARB
      VERTEX_ATTRIB_ARRAY_SIZE_ARBVERTEX_ATTRIB_ARRAY_STRIDE_ARB
      VERTEX_ATTRIB_ARRAY_TYPE_ARBVERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
      CURRENT_VERTEX_ATTRIB_ARBVERTEX_ATTRIB_ARRAY_INTEGER
      VERTEX_ATTRIB_ARRAY_DIVISOR
    • nglGetVertexAttribPointervARB

      public static void nglGetVertexAttribPointervARB(int index, int pname, long pointer)
      Unsafe version of: GetVertexAttribPointervARB
    • glGetVertexAttribPointervARB

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

      public static long glGetVertexAttribPointerARB(int index, int pname)
      Returns the address of the specified generic vertex attribute pointer.
      Parameters:
      index - the generic vertex attribute parameter to be queried
      pname - the symbolic name of the generic vertex attribute parameter to be returned. Must be:
      VERTEX_ATTRIB_ARRAY_POINTER_ARB
    • glIsProgramARB

      public static boolean glIsProgramARB(int program)
      Returns TRUE if program is the name of a program object. If program is zero or is a non-zero value that is not the name of a program object, or if an error condition occurs, IsProgramARB returns FALSE. A name returned by GenProgramsARB, 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)
      Array version of: VertexAttribPointerARB
    • glVertexAttribPointerARB

      public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, int[] pointer)
      Array version of: VertexAttribPointerARB
    • glVertexAttribPointerARB

      public static void glVertexAttribPointerARB(int index, int size, int type, boolean normalized, int stride, float[] pointer)
      Array version of: VertexAttribPointerARB
    • 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)
    • glGetProgramLocalParameterdvARB

      public static void glGetProgramLocalParameterdvARB(int target, int index, double[] params)
    • 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