Class ARBUniformBufferObject


  • public final class ARBUniformBufferObject
    extends Object
    • Field Detail

      • GL_UNIFORM_BUFFER

        public static final int GL_UNIFORM_BUFFER
        Accepted by the <target> parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, and GetBufferPointerv:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BUFFER_BINDING

        public static final int GL_UNIFORM_BUFFER_BINDING
        Accepted by the <pname> parameter of GetIntegeri_v, GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BUFFER_START

        public static final int GL_UNIFORM_BUFFER_START
        Accepted by the <pname> parameter of GetIntegeri_v:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BUFFER_SIZE

        public static final int GL_UNIFORM_BUFFER_SIZE
        Accepted by the <pname> parameter of GetIntegeri_v:
        See Also:
        Constant Field Values
      • GL_MAX_VERTEX_UNIFORM_BLOCKS

        public static final int GL_MAX_VERTEX_UNIFORM_BLOCKS
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_MAX_GEOMETRY_UNIFORM_BLOCKS

        public static final int GL_MAX_GEOMETRY_UNIFORM_BLOCKS
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_MAX_FRAGMENT_UNIFORM_BLOCKS

        public static final int GL_MAX_FRAGMENT_UNIFORM_BLOCKS
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_MAX_COMBINED_UNIFORM_BLOCKS

        public static final int GL_MAX_COMBINED_UNIFORM_BLOCKS
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_MAX_UNIFORM_BUFFER_BINDINGS

        public static final int GL_MAX_UNIFORM_BUFFER_BINDINGS
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_MAX_UNIFORM_BLOCK_SIZE

        public static final int GL_MAX_UNIFORM_BLOCK_SIZE
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS

        public static final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS

        public static final int GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS

        public static final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT

        public static final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT
        Accepted by the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev:
        See Also:
        Constant Field Values
      • GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH

        public static final int GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH
        Accepted by the <pname> parameter of GetProgramiv:
        See Also:
        Constant Field Values
      • GL_ACTIVE_UNIFORM_BLOCKS

        public static final int GL_ACTIVE_UNIFORM_BLOCKS
        Accepted by the <pname> parameter of GetProgramiv:
        See Also:
        Constant Field Values
      • GL_UNIFORM_TYPE

        public static final int GL_UNIFORM_TYPE
        Accepted by the <pname> parameter of GetActiveUniformsivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_SIZE

        public static final int GL_UNIFORM_SIZE
        Accepted by the <pname> parameter of GetActiveUniformsivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_NAME_LENGTH

        public static final int GL_UNIFORM_NAME_LENGTH
        Accepted by the <pname> parameter of GetActiveUniformsivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_INDEX

        public static final int GL_UNIFORM_BLOCK_INDEX
        Accepted by the <pname> parameter of GetActiveUniformsivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_OFFSET

        public static final int GL_UNIFORM_OFFSET
        Accepted by the <pname> parameter of GetActiveUniformsivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_ARRAY_STRIDE

        public static final int GL_UNIFORM_ARRAY_STRIDE
        Accepted by the <pname> parameter of GetActiveUniformsivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_MATRIX_STRIDE

        public static final int GL_UNIFORM_MATRIX_STRIDE
        Accepted by the <pname> parameter of GetActiveUniformsivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_IS_ROW_MAJOR

        public static final int GL_UNIFORM_IS_ROW_MAJOR
        Accepted by the <pname> parameter of GetActiveUniformsivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_BINDING

        public static final int GL_UNIFORM_BLOCK_BINDING
        Accepted by the <pname> parameter of GetActiveUniformBlockivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_DATA_SIZE

        public static final int GL_UNIFORM_BLOCK_DATA_SIZE
        Accepted by the <pname> parameter of GetActiveUniformBlockivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_NAME_LENGTH

        public static final int GL_UNIFORM_BLOCK_NAME_LENGTH
        Accepted by the <pname> parameter of GetActiveUniformBlockivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS

        public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS
        Accepted by the <pname> parameter of GetActiveUniformBlockivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES

        public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES
        Accepted by the <pname> parameter of GetActiveUniformBlockivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER

        public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER
        Accepted by the <pname> parameter of GetActiveUniformBlockivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER

        public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER
        Accepted by the <pname> parameter of GetActiveUniformBlockivARB:
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER

        public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER
        Accepted by the <pname> parameter of GetActiveUniformBlockivARB:
        See Also:
        Constant Field Values
      • GL_INVALID_INDEX

        public static final int GL_INVALID_INDEX
        Returned by GetActiveUniformsivARB and GetUniformBlockIndexARB
        See Also:
        Constant Field Values
    • Method Detail

      • glGetUniformIndices

        public static void glGetUniformIndices​(int program,
                                               ByteBuffer uniformNames,
                                               IntBuffer uniformIndices)
      • glGetUniformIndices

        public static void glGetUniformIndices​(int program,
                                               CharSequence[] uniformNames,
                                               IntBuffer uniformIndices)
        Overloads glGetUniformIndices.
      • glGetActiveUniforms

        public static void glGetActiveUniforms​(int program,
                                               IntBuffer uniformIndices,
                                               int pname,
                                               IntBuffer params)
      • glGetActiveUniforms

        @Deprecated
        public static int glGetActiveUniforms​(int program,
                                              int uniformIndex,
                                              int pname)
        Deprecated.
        Will be removed in 3.0. Use glGetActiveUniformsi(int, int, int) instead.
        Overloads glGetActiveUniformsiv.

      • glGetActiveUniformsi

        public static int glGetActiveUniformsi​(int program,
                                               int uniformIndex,
                                               int pname)
        Overloads glGetActiveUniformsiv.
      • glGetActiveUniformName

        public static void glGetActiveUniformName​(int program,
                                                  int uniformIndex,
                                                  IntBuffer length,
                                                  ByteBuffer uniformName)
      • glGetActiveUniformName

        public static String glGetActiveUniformName​(int program,
                                                    int uniformIndex,
                                                    int bufSize)
        Overloads glGetActiveUniformName.
      • glGetUniformBlockIndex

        public static int glGetUniformBlockIndex​(int program,
                                                 ByteBuffer uniformBlockName)
      • glGetUniformBlockIndex

        public static int glGetUniformBlockIndex​(int program,
                                                 CharSequence uniformBlockName)
        Overloads glGetUniformBlockIndex.
      • glGetActiveUniformBlock

        public static void glGetActiveUniformBlock​(int program,
                                                   int uniformBlockIndex,
                                                   int pname,
                                                   IntBuffer params)
      • glGetActiveUniformBlock

        @Deprecated
        public static int glGetActiveUniformBlock​(int program,
                                                  int uniformBlockIndex,
                                                  int pname)
        Deprecated.
        Will be removed in 3.0. Use glGetActiveUniformBlocki(int, int, int) instead.
        Overloads glGetActiveUniformBlockiv.

      • glGetActiveUniformBlocki

        public static int glGetActiveUniformBlocki​(int program,
                                                   int uniformBlockIndex,
                                                   int pname)
        Overloads glGetActiveUniformBlockiv.
      • glGetActiveUniformBlockName

        public static void glGetActiveUniformBlockName​(int program,
                                                       int uniformBlockIndex,
                                                       IntBuffer length,
                                                       ByteBuffer uniformBlockName)
      • glGetActiveUniformBlockName

        public static String glGetActiveUniformBlockName​(int program,
                                                         int uniformBlockIndex,
                                                         int bufSize)
        Overloads glGetActiveUniformBlockName.
      • glBindBufferRange

        public static void glBindBufferRange​(int target,
                                             int index,
                                             int buffer,
                                             long offset,
                                             long size)
      • glBindBufferBase

        public static void glBindBufferBase​(int target,
                                            int index,
                                            int buffer)
      • glGetInteger

        public static void glGetInteger​(int value,
                                        int index,
                                        IntBuffer data)
      • glGetInteger

        public static int glGetInteger​(int value,
                                       int index)
        Overloads glGetIntegeri_v.
      • glUniformBlockBinding

        public static void glUniformBlockBinding​(int program,
                                                 int uniformBlockIndex,
                                                 int uniformBlockBinding)