Class ARBVertexBlend



  • public class ARBVertexBlend
    extends java.lang.Object
    Native bindings to the ARB_vertex_blend extension.

    This extension provides the ability to replace the single modelview transformation with a set of n vertex units. (Where n is constrained to an implementation defined maximum.) Each unit has its own modelview transform matrix. For each unit, there is a current weight associated with the vertex. When this extension is enabled the vertices are transformed by the modelview matrices of all of the enabled units. Afterward, these results are scaled by the weights for the respective units and then summed to create the eye-space vertex. A similar procedure is followed for the normals, except they are transformed by the inverse transpose of the modelview matrices.

    • Field Detail

      • GL_MAX_VERTEX_UNITS_ARB

        public static final int GL_MAX_VERTEX_UNITS_ARB
        Accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_ACTIVE_VERTEX_UNITS_ARB

        public static final int GL_ACTIVE_VERTEX_UNITS_ARB
        Accepted by the value parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_WEIGHT_SUM_UNITY_ARB

        public static final int GL_WEIGHT_SUM_UNITY_ARB
        Accepted by the cap parameters of Enable and Disable, by the value parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_VERTEX_BLEND_ARB

        public static final int GL_VERTEX_BLEND_ARB
        Accepted by the cap parameters of Enable and Disable, by the value parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW0_ARB

        public static final int GL_MODELVIEW0_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW1_ARB

        public static final int GL_MODELVIEW1_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW2_ARB

        public static final int GL_MODELVIEW2_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW3_ARB

        public static final int GL_MODELVIEW3_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW4_ARB

        public static final int GL_MODELVIEW4_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW5_ARB

        public static final int GL_MODELVIEW5_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW6_ARB

        public static final int GL_MODELVIEW6_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW7_ARB

        public static final int GL_MODELVIEW7_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW8_ARB

        public static final int GL_MODELVIEW8_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW9_ARB

        public static final int GL_MODELVIEW9_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW10_ARB

        public static final int GL_MODELVIEW10_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW11_ARB

        public static final int GL_MODELVIEW11_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW12_ARB

        public static final int GL_MODELVIEW12_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW13_ARB

        public static final int GL_MODELVIEW13_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW14_ARB

        public static final int GL_MODELVIEW14_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW15_ARB

        public static final int GL_MODELVIEW15_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW16_ARB

        public static final int GL_MODELVIEW16_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW17_ARB

        public static final int GL_MODELVIEW17_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW18_ARB

        public static final int GL_MODELVIEW18_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW19_ARB

        public static final int GL_MODELVIEW19_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW20_ARB

        public static final int GL_MODELVIEW20_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW21_ARB

        public static final int GL_MODELVIEW21_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW22_ARB

        public static final int GL_MODELVIEW22_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW23_ARB

        public static final int GL_MODELVIEW23_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW24_ARB

        public static final int GL_MODELVIEW24_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW25_ARB

        public static final int GL_MODELVIEW25_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW26_ARB

        public static final int GL_MODELVIEW26_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW27_ARB

        public static final int GL_MODELVIEW27_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW28_ARB

        public static final int GL_MODELVIEW28_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW29_ARB

        public static final int GL_MODELVIEW29_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW30_ARB

        public static final int GL_MODELVIEW30_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MODELVIEW31_ARB

        public static final int GL_MODELVIEW31_ARB
        Accepted by the mode parameter of MatrixMode and by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_CURRENT_WEIGHT_ARB

        public static final int GL_CURRENT_WEIGHT_ARB
        Accepted by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_WEIGHT_ARRAY_TYPE_ARB

        public static final int GL_WEIGHT_ARRAY_TYPE_ARB
        Accepted by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_WEIGHT_ARRAY_STRIDE_ARB

        public static final int GL_WEIGHT_ARRAY_STRIDE_ARB
        Accepted by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_WEIGHT_ARRAY_SIZE_ARB

        public static final int GL_WEIGHT_ARRAY_SIZE_ARB
        Accepted by the value parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_WEIGHT_ARRAY_POINTER_ARB

        public static final int GL_WEIGHT_ARRAY_POINTER_ARB
        Accepted by the pname parameter of GetPointerv.
        See Also:
        Constant Field Values
      • GL_WEIGHT_ARRAY_ARB

        public static final int GL_WEIGHT_ARRAY_ARB
        Accepted by the cap parameters of EnableClientState and DisableClientState, by the value parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
    • Method Detail

      • glWeightfvARB

        public static void glWeightfvARB(java.nio.FloatBuffer weights)
        Sets the current vertex weights.
        Parameters:
        weights - the vertex weights
      • glWeightbvARB

        public static void glWeightbvARB(java.nio.ByteBuffer weights)
        Byte version of WeightfvARB.
        Parameters:
        weights - the vertex weights
      • glWeightubvARB

        public static void glWeightubvARB(java.nio.ByteBuffer weights)
        Unsigned byte version of WeightfvARB.
        Parameters:
        weights - the vertex weights
      • glWeightsvARB

        public static void glWeightsvARB(java.nio.ShortBuffer weights)
        Short version of WeightfvARB.
        Parameters:
        weights - the vertex weights
      • glWeightusvARB

        public static void glWeightusvARB(java.nio.ShortBuffer weights)
        Unsigned short version of WeightfvARB.
        Parameters:
        weights - the vertex weights
      • glWeightivARB

        public static void glWeightivARB(java.nio.IntBuffer weights)
        Integer version of WeightfvARB.
        Parameters:
        weights - the vertex weights
      • glWeightuivARB

        public static void glWeightuivARB(java.nio.IntBuffer weights)
        Unsigned integer version of WeightfvARB.
        Parameters:
        weights - the vertex weights
      • glWeightdvARB

        public static void glWeightdvARB(java.nio.DoubleBuffer weights)
        Double version of WeightfvARB.
        Parameters:
        weights - the vertex weights
      • glWeightPointerARB

        public static void glWeightPointerARB(int size,
                                              int type,
                                              int stride,
                                              java.nio.ByteBuffer pointer)
        Specifies the location and organization of a weight array.
        Parameters:
        size - the number of values per vertex that are stored in the array. Must be a value between 1 and MAX_VERTEX_UNITS_ARB.
        type - the data type of the values stored in the array. One of:
        BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTFLOATDOUBLE
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the weight data
      • glWeightPointerARB

        public static void glWeightPointerARB(int size,
                                              int type,
                                              int stride,
                                              long pointer)
        Specifies the location and organization of a weight array.
        Parameters:
        size - the number of values per vertex that are stored in the array. Must be a value between 1 and MAX_VERTEX_UNITS_ARB.
        type - the data type of the values stored in the array. One of:
        BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTFLOATDOUBLE
        stride - the vertex stride in bytes. If specified as zero, then array elements are stored sequentially
        pointer - the weight data
      • glWeightPointerARB

        public static void glWeightPointerARB(int size,
                                              int type,
                                              int stride,
                                              java.nio.ShortBuffer pointer)
        ShortBuffer version of: WeightPointerARB
      • glWeightPointerARB

        public static void glWeightPointerARB(int size,
                                              int type,
                                              int stride,
                                              java.nio.IntBuffer pointer)
        IntBuffer version of: WeightPointerARB
      • glWeightPointerARB

        public static void glWeightPointerARB(int size,
                                              int type,
                                              int stride,
                                              java.nio.FloatBuffer pointer)
        FloatBuffer version of: WeightPointerARB
      • glVertexBlendARB

        public static void glVertexBlendARB(int count)
        Sets the number of active transformations applied.
        Parameters:
        count - the number of transformations to blend
      • glWeightfvARB

        public static void glWeightfvARB(float[] weights)
        Array version of: WeightfvARB
      • glWeightsvARB

        public static void glWeightsvARB(short[] weights)
        Array version of: WeightsvARB
      • glWeightusvARB

        public static void glWeightusvARB(short[] weights)
        Array version of: WeightusvARB
      • glWeightivARB

        public static void glWeightivARB(int[] weights)
        Array version of: WeightivARB
      • glWeightuivARB

        public static void glWeightuivARB(int[] weights)
        Array version of: WeightuivARB
      • glWeightdvARB

        public static void glWeightdvARB(double[] weights)
        Array version of: WeightdvARB
      • glWeightPointerARB

        public static void glWeightPointerARB(int size,
                                              int type,
                                              int stride,
                                              short[] pointer)
        short[] version of: WeightPointerARB
      • glWeightPointerARB

        public static void glWeightPointerARB(int size,
                                              int type,
                                              int stride,
                                              int[] pointer)
        int[] version of: WeightPointerARB
      • glWeightPointerARB

        public static void glWeightPointerARB(int size,
                                              int type,
                                              int stride,
                                              float[] pointer)
        float[] version of: WeightPointerARB