Class GL40

    • Field Detail

      • GL_DRAW_INDIRECT_BUFFER

        public static final int GL_DRAW_INDIRECT_BUFFER
        Accepted by the target parameters of BindBuffer, BufferData, BufferSubData, MapBuffer, UnmapBuffer, GetBufferSubData, GetBufferPointerv, MapBufferRange, FlushMappedBufferRange, GetBufferParameteriv, and CopyBufferSubData.
        See Also:
        Constant Field Values
      • GL_DRAW_INDIRECT_BUFFER_BINDING

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

        public static final int GL_GEOMETRY_SHADER_INVOCATIONS
        Accepted by the pname parameter of GetProgramiv.
        See Also:
        Constant Field Values
      • GL_MAX_GEOMETRY_SHADER_INVOCATIONS

        public static final int GL_MAX_GEOMETRY_SHADER_INVOCATIONS
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MIN_FRAGMENT_INTERPOLATION_OFFSET

        public static final int GL_MIN_FRAGMENT_INTERPOLATION_OFFSET
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_FRAGMENT_INTERPOLATION_OFFSET

        public static final int GL_MAX_FRAGMENT_INTERPOLATION_OFFSET
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_FRAGMENT_INTERPOLATION_OFFSET_BITS

        public static final int GL_FRAGMENT_INTERPOLATION_OFFSET_BITS
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_DOUBLE_VEC2

        public static final int GL_DOUBLE_VEC2
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_VEC3

        public static final int GL_DOUBLE_VEC3
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_VEC4

        public static final int GL_DOUBLE_VEC4
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT2

        public static final int GL_DOUBLE_MAT2
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT3

        public static final int GL_DOUBLE_MAT3
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT4

        public static final int GL_DOUBLE_MAT4
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT2x3

        public static final int GL_DOUBLE_MAT2x3
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT2x4

        public static final int GL_DOUBLE_MAT2x4
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT3x2

        public static final int GL_DOUBLE_MAT3x2
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT3x4

        public static final int GL_DOUBLE_MAT3x4
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT4x2

        public static final int GL_DOUBLE_MAT4x2
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_DOUBLE_MAT4x3

        public static final int GL_DOUBLE_MAT4x3
        Returned in the type parameter of GetActiveUniform, and GetTransformFeedbackVarying.
        See Also:
        Constant Field Values
      • GL_SAMPLE_SHADING

        public static final int GL_SAMPLE_SHADING
        Accepted by the cap parameter of Enable, Disable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MIN_SAMPLE_SHADING_VALUE

        public static final int GL_MIN_SAMPLE_SHADING_VALUE
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_ACTIVE_SUBROUTINES

        public static final int GL_ACTIVE_SUBROUTINES
        Accepted by the pname parameter of GetProgramStageiv.
        See Also:
        Constant Field Values
      • GL_ACTIVE_SUBROUTINE_UNIFORMS

        public static final int GL_ACTIVE_SUBROUTINE_UNIFORMS
        Accepted by the pname parameter of GetProgramStageiv.
        See Also:
        Constant Field Values
      • GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS

        public static final int GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS
        Accepted by the pname parameter of GetProgramStageiv.
        See Also:
        Constant Field Values
      • GL_ACTIVE_SUBROUTINE_MAX_LENGTH

        public static final int GL_ACTIVE_SUBROUTINE_MAX_LENGTH
        Accepted by the pname parameter of GetProgramStageiv.
        See Also:
        Constant Field Values
      • GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH

        public static final int GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH
        Accepted by the pname parameter of GetProgramStageiv.
        See Also:
        Constant Field Values
      • GL_MAX_SUBROUTINES

        public static final int GL_MAX_SUBROUTINES
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS

        public static final int GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, GetDoublev, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_NUM_COMPATIBLE_SUBROUTINES

        public static final int GL_NUM_COMPATIBLE_SUBROUTINES
        Accepted by the pname parameter of GetActiveSubroutineUniformiv.
        See Also:
        Constant Field Values
      • GL_COMPATIBLE_SUBROUTINES

        public static final int GL_COMPATIBLE_SUBROUTINES
        Accepted by the pname parameter of GetActiveSubroutineUniformiv.
        See Also:
        Constant Field Values
      • GL_PATCHES

        public static final int GL_PATCHES
        Accepted by the mode parameter of Begin and all vertex array functions that implicitly call Begin.
        See Also:
        Constant Field Values
      • GL_PATCH_VERTICES

        public static final int GL_PATCH_VERTICES
        Accepted by the pname parameter of PatchParameteri, GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_PATCH_DEFAULT_INNER_LEVEL

        public static final int GL_PATCH_DEFAULT_INNER_LEVEL
        Accepted by the pname parameter of PatchParameterfv, GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_PATCH_DEFAULT_OUTER_LEVEL

        public static final int GL_PATCH_DEFAULT_OUTER_LEVEL
        Accepted by the pname parameter of PatchParameterfv, GetBooleanv, GetDoublev, GetFloatv, and GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_TESS_CONTROL_OUTPUT_VERTICES

        public static final int GL_TESS_CONTROL_OUTPUT_VERTICES
        Accepted by the pname parameter of GetProgramiv.
        See Also:
        Constant Field Values
      • GL_TESS_GEN_MODE

        public static final int GL_TESS_GEN_MODE
        Accepted by the pname parameter of GetProgramiv.
        See Also:
        Constant Field Values
      • GL_TESS_GEN_SPACING

        public static final int GL_TESS_GEN_SPACING
        Accepted by the pname parameter of GetProgramiv.
        See Also:
        Constant Field Values
      • GL_TESS_GEN_VERTEX_ORDER

        public static final int GL_TESS_GEN_VERTEX_ORDER
        Accepted by the pname parameter of GetProgramiv.
        See Also:
        Constant Field Values
      • GL_TESS_GEN_POINT_MODE

        public static final int GL_TESS_GEN_POINT_MODE
        Accepted by the pname parameter of GetProgramiv.
        See Also:
        Constant Field Values
      • GL_ISOLINES

        public static final int GL_ISOLINES
        Returned by GetProgramiv when pname is TESS_GEN_MODE.
        See Also:
        Constant Field Values
      • GL_FRACTIONAL_ODD

        public static final int GL_FRACTIONAL_ODD
        Returned by GetProgramiv when pname is TESS_GEN_SPACING.
        See Also:
        Constant Field Values
      • GL_FRACTIONAL_EVEN

        public static final int GL_FRACTIONAL_EVEN
        Returned by GetProgramiv when pname is TESS_GEN_SPACING.
        See Also:
        Constant Field Values
      • GL_MAX_PATCH_VERTICES

        public static final int GL_MAX_PATCH_VERTICES
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_GEN_LEVEL

        public static final int GL_MAX_TESS_GEN_LEVEL
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS

        public static final int GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS

        public static final int GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS

        public static final int GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS

        public static final int GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS

        public static final int GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_PATCH_COMPONENTS

        public static final int GL_MAX_TESS_PATCH_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS

        public static final int GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS

        public static final int GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS

        public static final int GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS

        public static final int GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_CONTROL_INPUT_COMPONENTS

        public static final int GL_MAX_TESS_CONTROL_INPUT_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS

        public static final int GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS

        public static final int GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS

        public static final int GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetFloatv, GetIntegerv, and GetInteger64v.
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER

        public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER
        Accepted by the pname parameter of GetActiveUniformBlockiv.
        See Also:
        Constant Field Values
      • GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER

        public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER
        Accepted by the pname parameter of GetActiveUniformBlockiv.
        See Also:
        Constant Field Values
      • GL_TESS_EVALUATION_SHADER

        public static final int GL_TESS_EVALUATION_SHADER
        Accepted by the type parameter of CreateShader and returned by the params parameter of GetShaderiv.
        See Also:
        Constant Field Values
      • GL_TESS_CONTROL_SHADER

        public static final int GL_TESS_CONTROL_SHADER
        Accepted by the type parameter of CreateShader and returned by the params parameter of GetShaderiv.
        See Also:
        Constant Field Values
      • GL_TEXTURE_CUBE_MAP_ARRAY

        public static final int GL_TEXTURE_CUBE_MAP_ARRAY
        Accepted by the target parameter of TexParameteri, TexParameteriv, TexParameterf, TexParameterfv, BindTexture, and GenerateMipmap.
        See Also:
        Constant Field Values
      • GL_TEXTURE_BINDING_CUBE_MAP_ARRAY

        public static final int GL_TEXTURE_BINDING_CUBE_MAP_ARRAY
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv and GetFloatv.
        See Also:
        Constant Field Values
      • GL_PROXY_TEXTURE_CUBE_MAP_ARRAY

        public static final int GL_PROXY_TEXTURE_CUBE_MAP_ARRAY
        Accepted by the target parameter of TexImage3D, TexSubImage3D, CompressedTeximage3D, CompressedTexSubImage3D and CopyTexSubImage3D.
        See Also:
        Constant Field Values
      • GL_SAMPLER_CUBE_MAP_ARRAY

        public static final int GL_SAMPLER_CUBE_MAP_ARRAY
        Returned by the type parameter of GetActiveUniform.
        See Also:
        Constant Field Values
      • GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW

        public static final int GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW
        Returned by the type parameter of GetActiveUniform.
        See Also:
        Constant Field Values
      • GL_INT_SAMPLER_CUBE_MAP_ARRAY

        public static final int GL_INT_SAMPLER_CUBE_MAP_ARRAY
        Returned by the type parameter of GetActiveUniform.
        See Also:
        Constant Field Values
      • GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY

        public static final int GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY
        Returned by the type parameter of GetActiveUniform.
        See Also:
        Constant Field Values
      • GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET

        public static final int GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET

        public static final int GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET
        Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values
      • GL_TRANSFORM_FEEDBACK

        public static final int GL_TRANSFORM_FEEDBACK
        Accepted by the target parameter of BindTransformFeedback.
        See Also:
        Constant Field Values
      • GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED

        public static final int GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE

        public static final int GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_TRANSFORM_FEEDBACK_BINDING

        public static final int GL_TRANSFORM_FEEDBACK_BINDING
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_MAX_TRANSFORM_FEEDBACK_BUFFERS

        public static final int GL_MAX_TRANSFORM_FEEDBACK_BUFFERS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
      • GL_MAX_VERTEX_STREAMS

        public static final int GL_MAX_VERTEX_STREAMS
        Accepted by the pname parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv.
        See Also:
        Constant Field Values
    • Method Detail

      • glBlendEquationi

        public static void glBlendEquationi(int buf,
                                            int mode)

        OpenGL SDK Reference

        Specifies the equation used for both the RGB blend equation and the Alpha blend equation for the specified draw buffer.
        Parameters:
        buf - the index of the draw buffer for which to set the blend equation
        mode - how source and destination colors are combined. One of:
        FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
      • glBlendEquationSeparatei

        public static void glBlendEquationSeparatei(int buf,
                                                    int modeRGB,
                                                    int modeAlpha)

        OpenGL SDK Reference

        Sets the RGB blend equation and the alpha blend equation separately for the specified draw buffer.
        Parameters:
        buf - the index of the draw buffer for which to set the blend equations
        modeRGB - the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. One of:
        FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
        modeAlpha - the alpha blend equation, how the alpha component of the source and destination colors are combined. One of:
        FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAX
      • glBlendFunci

        public static void glBlendFunci(int buf,
                                        int sfactor,
                                        int dfactor)

        OpenGL SDK Reference

        Specifies pixel arithmetic for the specified draw buffer.
        Parameters:
        buf - the index of the draw buffer for which to set the blend function
        sfactor - how the red, green, blue, and alpha source blending factors are computed
        dfactor - how the red, green, blue, and alpha destination blending factors are computed
      • glBlendFuncSeparatei

        public static void glBlendFuncSeparatei(int buf,
                                                int srcRGB,
                                                int dstRGB,
                                                int srcAlpha,
                                                int dstAlpha)

        OpenGL SDK Reference

        Specifies pixel arithmetic for RGB and alpha components separately for the specified draw buffer.
        Parameters:
        buf - the index of the draw buffer for which to set the blend functions
        srcRGB - how the red, green, and blue blending factors are computed
        dstRGB - how the red, green, and blue destination blending factors are computed
        srcAlpha - how the alpha source blending factor is computed
        dstAlpha - how the alpha destination blending factor is computed
      • glUniform1d

        public static void glUniform1d(int location,
                                       double x)

        OpenGL SDK Reference

        Specifies the value of a double uniform variable for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        x - the uniform x value
      • glUniform2d

        public static void glUniform2d(int location,
                                       double x,
                                       double y)

        OpenGL SDK Reference

        Specifies the value of a dvec2 uniform variable for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        x - the uniform x value
        y - the uniform y value
      • glUniform3d

        public static void glUniform3d(int location,
                                       double x,
                                       double y,
                                       double z)

        OpenGL SDK Reference

        Specifies the value of a dvec3 uniform variable for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        x - the uniform x value
        y - the uniform y value
        z - the uniform z value
      • glUniform4d

        public static void glUniform4d(int location,
                                       double x,
                                       double y,
                                       double z,
                                       double w)

        OpenGL SDK Reference

        Specifies the value of a dvec4 uniform variable for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        x - the uniform x value
        y - the uniform y value
        z - the uniform z value
        w - the uniform w value
      • glUniform1dv

        public static void glUniform1dv(int location,
                                        java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single double uniform variable or a double uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        value - a pointer to an array of count values that will be used to update the specified uniform variable
      • glUniform2dv

        public static void glUniform2dv(int location,
                                        java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dvec2 uniform variable or a dvec2 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        value - a pointer to an array of count values that will be used to update the specified uniform variable
      • glUniform3dv

        public static void glUniform3dv(int location,
                                        java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dvec3 uniform variable or a dvec3 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        value - a pointer to an array of count values that will be used to update the specified uniform variable
      • glUniform4dv

        public static void glUniform4dv(int location,
                                        java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dvec4 uniform variable or a dvec4 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        value - a pointer to an array of count values that will be used to update the specified uniform variable
      • glUniformMatrix2dv

        public static void glUniformMatrix2dv(int location,
                                              boolean transpose,
                                              java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat2 uniform variable or a dmat2 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glUniformMatrix3dv

        public static void glUniformMatrix3dv(int location,
                                              boolean transpose,
                                              java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat3 uniform variable or a dmat3 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glUniformMatrix4dv

        public static void glUniformMatrix4dv(int location,
                                              boolean transpose,
                                              java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat4 uniform variable or a dmat4 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glUniformMatrix2x3dv

        public static void glUniformMatrix2x3dv(int location,
                                                boolean transpose,
                                                java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat2x3 uniform variable or a dmat2x3 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glUniformMatrix2x4dv

        public static void glUniformMatrix2x4dv(int location,
                                                boolean transpose,
                                                java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat2x4 uniform variable or a dmat2x4 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glUniformMatrix3x2dv

        public static void glUniformMatrix3x2dv(int location,
                                                boolean transpose,
                                                java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat3x2 uniform variable or a dmat3x2 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glUniformMatrix3x4dv

        public static void glUniformMatrix3x4dv(int location,
                                                boolean transpose,
                                                java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat3x4 uniform variable or a dmat3x4 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glUniformMatrix4x2dv

        public static void glUniformMatrix4x2dv(int location,
                                                boolean transpose,
                                                java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat4x2 uniform variable or a dmat4x2 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glUniformMatrix4x3dv

        public static void glUniformMatrix4x3dv(int location,
                                                boolean transpose,
                                                java.nio.DoubleBuffer value)

        OpenGL SDK Reference

        Specifies the value of a single dmat4x3 uniform variable or a dmat4x3 uniform variable array for the current program object.
        Parameters:
        location - the location of the uniform variable to be modified
        transpose - whether to transpose the matrix as the values are loaded into the uniform variable
        value - a pointer to an array of count values that will be used to update the specified uniform matrix variable
      • glGetUniformdv

        public static void glGetUniformdv(int program,
                                          int location,
                                          java.nio.DoubleBuffer params)

        OpenGL SDK Reference

        Returns the double value(s) of a uniform variable.
        Parameters:
        program - the program object to be queried
        location - the location of the uniform variable to be queried
        params - the value of the specified uniform variable
      • glGetUniformd

        public static double glGetUniformd(int program,
                                           int location)

        OpenGL SDK Reference

        Returns the double value(s) of a uniform variable.
        Parameters:
        program - the program object to be queried
        location - the location of the uniform variable to be queried
      • glMinSampleShading

        public static void glMinSampleShading(float value)

        OpenGL SDK Reference

        Specifies the minimum rate at which sample shading takes place.
        Parameters:
        value - the rate at which samples are shaded within each covered pixel
      • glGetSubroutineUniformLocation

        public static int glGetSubroutineUniformLocation(int program,
                                                         int shadertype,
                                                         java.nio.ByteBuffer name)

        OpenGL SDK Reference

        Retrieves the location of a subroutine uniform of a given shader stage within a program.
        Parameters:
        program - the name of the program containing shader stage
        shadertype - the shader stage from which to query for subroutine uniform index. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        name - the name of the subroutine uniform whose index to query.
      • glGetSubroutineUniformLocation

        public static int glGetSubroutineUniformLocation(int program,
                                                         int shadertype,
                                                         java.lang.CharSequence name)

        OpenGL SDK Reference

        Retrieves the location of a subroutine uniform of a given shader stage within a program.
        Parameters:
        program - the name of the program containing shader stage
        shadertype - the shader stage from which to query for subroutine uniform index. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        name - the name of the subroutine uniform whose index to query.
      • glGetSubroutineIndex

        public static int glGetSubroutineIndex(int program,
                                               int shadertype,
                                               java.nio.ByteBuffer name)

        OpenGL SDK Reference

        Retrieves the index of a subroutine function of a given shader stage within a program.
        Parameters:
        program - the name of the program containing shader stage
        shadertype - the shader stage from which to query for subroutine function index. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        name - the name of the subroutine function whose index to query
      • glGetSubroutineIndex

        public static int glGetSubroutineIndex(int program,
                                               int shadertype,
                                               java.lang.CharSequence name)

        OpenGL SDK Reference

        Retrieves the index of a subroutine function of a given shader stage within a program.
        Parameters:
        program - the name of the program containing shader stage
        shadertype - the shader stage from which to query for subroutine function index. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        name - the name of the subroutine function whose index to query
      • glGetActiveSubroutineUniformName

        public static void glGetActiveSubroutineUniformName(int program,
                                                            int shadertype,
                                                            int index,
                                                            java.nio.IntBuffer length,
                                                            java.nio.ByteBuffer name)

        OpenGL SDK Reference

        Queries the name of an active shader subroutine uniform.
        Parameters:
        program - the name of the program containing the subroutine
        shadertype - the shader stage from which to query for the subroutine parameter. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        index - the index of the shader subroutine uniform
        length - the address of a variable into which is written the number of characters copied into name
        name - the address of a buffer that will receive the name of the specified shader subroutine uniform
      • glGetActiveSubroutineUniformName

        public static java.lang.String glGetActiveSubroutineUniformName(int program,
                                                                        int shadertype,
                                                                        int index,
                                                                        int bufsize)

        OpenGL SDK Reference

        Queries the name of an active shader subroutine uniform.
        Parameters:
        program - the name of the program containing the subroutine
        shadertype - the shader stage from which to query for the subroutine parameter. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        index - the index of the shader subroutine uniform
        bufsize - the size of the buffer whose address is given in name
      • glGetActiveSubroutineName

        public static void glGetActiveSubroutineName(int program,
                                                     int shadertype,
                                                     int index,
                                                     java.nio.IntBuffer length,
                                                     java.nio.ByteBuffer name)

        OpenGL SDK Reference

        Queries the name of an active shader subroutine.
        Parameters:
        program - the name of the program containing the subroutine
        shadertype - the shader stage from which to query the subroutine name. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        index - the index of the shader subroutine uniform
        length - a variable which is to receive the length of the shader subroutine uniform name
        name - an array into which the name of the shader subroutine uniform will be written
      • glGetActiveSubroutineName

        public static java.lang.String glGetActiveSubroutineName(int program,
                                                                 int shadertype,
                                                                 int index,
                                                                 int bufsize)

        OpenGL SDK Reference

        Queries the name of an active shader subroutine.
        Parameters:
        program - the name of the program containing the subroutine
        shadertype - the shader stage from which to query the subroutine name. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        index - the index of the shader subroutine uniform
        bufsize - the size of the buffer whose address is given in name
      • glGetUniformSubroutineuiv

        public static void glGetUniformSubroutineuiv(int shadertype,
                                                     int location,
                                                     java.nio.IntBuffer params)

        OpenGL SDK Reference

        Retrieves the value of a subroutine uniform of a given shader stage of the current program.
        Parameters:
        shadertype - the shader stage from which to query for subroutine uniform index. One of:
        VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADER
        TESS_EVALUATION_SHADER
        location - the location of the subroutine uniform
        params - a variable to receive the value or values of the subroutine uniform
      • glPatchParameteri

        public static void glPatchParameteri(int pname,
                                             int value)

        OpenGL SDK Reference

        Specifies the integer value of the specified parameter for patch primitives.
        Parameters:
        pname - the name of the parameter to set. Must be:
        PATCH_VERTICES
        value - the new value for the parameter given by pname
      • glPatchParameterfv

        public static void glPatchParameterfv(int pname,
                                              java.nio.FloatBuffer values)

        OpenGL SDK Reference

        Specifies an array of float values for the specified parameter for patch primitives.
        Parameters:
        pname - the name of the parameter to set. One of:
        PATCH_DEFAULT_OUTER_LEVELPATCH_DEFAULT_INNER_LEVEL
        values - an array containing the new values for the parameter given by pname
      • glBindTransformFeedback

        public static void glBindTransformFeedback(int target,
                                                   int id)

        OpenGL SDK Reference

        Binds a transform feedback object.
        Parameters:
        target - the target to which to bind the transform feedback object id. Must be:
        TRANSFORM_FEEDBACK
        id - the name of a transform feedback object
      • glDeleteTransformFeedbacks

        public static void glDeleteTransformFeedbacks(java.nio.IntBuffer ids)

        OpenGL SDK Reference

        Deletes transform feedback objects.
        Parameters:
        ids - an array of names of transform feedback objects to delete
      • glDeleteTransformFeedbacks

        public static void glDeleteTransformFeedbacks(int id)

        OpenGL SDK Reference

        Deletes transform feedback objects.
      • glGenTransformFeedbacks

        public static void glGenTransformFeedbacks(java.nio.IntBuffer ids)

        OpenGL SDK Reference

        Reserves transform feedback object names.
        Parameters:
        ids - an array of into which the reserved names will be written
      • glGenTransformFeedbacks

        public static int glGenTransformFeedbacks()

        OpenGL SDK Reference

        Reserves transform feedback object names.
      • glIsTransformFeedback

        public static boolean glIsTransformFeedback(int id)

        OpenGL SDK Reference

        Determines if a name corresponds to a transform feedback object.
        Parameters:
        id - a value that may be the name of a transform feedback object
      • glPauseTransformFeedback

        public static void glPauseTransformFeedback()

        OpenGL SDK Reference

        Pauses transform feedback operations for the currently bound transform feedback object.

        When transform feedback operations are paused, transform feedback is still considered active and changing most transform feedback state related to the object results in an error. However, a new transform feedback object may be bound while transform feedback is paused. The error INVALID_OPERATION is generated by PauseTransformFeedback if the currently bound transform feedback is not active or is paused.

        When transform feedback is active and not paused, all geometric primitives generated must be compatible with the value of primitiveMode passed to BeginTransformFeedback. The error INVALID_OPERATION is generated by Begin or any operation that implicitly calls Begin (such as DrawElements) if mode is not one of the allowed modes. If a geometry shader is active, its output primitive type is used instead of the mode parameter passed to Begin for the purposes of this error check. Any primitive type may be used while transform feedback is paused.

      • glResumeTransformFeedback

        public static void glResumeTransformFeedback()

        OpenGL SDK Reference

        Resumes transform feedback operations for the currently bound transform feedback object.

        The error INVALID_OPERATION is generated by ResumeTransformFeedback if the currently bound transform feedback is not active or is not paused.

      • glGetActiveSubroutineName

        public static void glGetActiveSubroutineName(int program,
                                                     int shadertype,
                                                     int index,
                                                     int[] length,
                                                     java.nio.ByteBuffer name)