Class ARBGPUShaderFP64
This extension allows GLSL shaders to use double-precision floating-point data types, including vectors and matrices of doubles. Doubles may be used as inputs, outputs, and uniforms.
The shading language supports various arithmetic and comparison operators on double-precision scalar, vector, and matrix types, and provides a set of built-in functions including:
- square roots and inverse square roots;
- fused floating-point multiply-add operations;
- splitting a floating-point number into a significand and exponent (frexp), or building a floating-point number from a significand and exponent (ldexp);
- absolute value, sign tests, various functions to round to an integer value, modulus, minimum, maximum, clamping, blending two values, step functions, and testing for infinity and NaN values;
- packing and unpacking doubles into a pair of 32-bit unsigned integers;
- matrix component-wise multiplication, and computation of outer products, transposes, determinants, and inverses; and
- vector relational functions.
Double-precision versions of angle, trigonometry, and exponential functions are not supported.
Implicit conversions are supported from integer and single-precision floating-point values to doubles, and this extension uses the relaxed function overloading rules specified by the ARB_gpu_shader5 extension to resolve ambiguities.
This extension provides API functions for specifying double-precision uniforms in the default uniform block, including functions similar to the uniform
functions added by EXT_direct_state_access (if supported).
This extension provides an "LF" suffix for specifying double-precision constants. Floating-point constants without a suffix in GLSL are treated as single-precision values for backward compatibility with versions not supporting doubles; similar constants are treated as double-precision values in the "C" programming language.
This extension does not support interpolation of double-precision values; doubles used as fragment shader inputs must be qualified as "flat". Additionally, this extension does not allow vertex attributes with 64-bit components. That support is added separately by EXT_vertex_attrib_64bit.
Requires GL32 and GLSL 1.50. Promoted to core in OpenGL 4.0.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.static final intReturned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying. -
Method Summary
Modifier and TypeMethodDescriptionstatic doubleglGetUniformd(int program, int location) Returns the double value(s) of a uniform variable.static voidglGetUniformdv(int program, int location, double[] params) Array version of:GetUniformdvstatic voidglGetUniformdv(int program, int location, DoubleBuffer params) Returns the double value(s) of a uniform variable.static voidglProgramUniform1dEXT(int program, int location, double x) DSA version ofUniform1d.static voidglProgramUniform1dvEXT(int program, int location, double[] value) Array version of:ProgramUniform1dvEXTstatic voidglProgramUniform1dvEXT(int program, int location, DoubleBuffer value) DSA version ofUniform1dv.static voidglProgramUniform2dEXT(int program, int location, double x, double y) DSA version ofUniform2d.static voidglProgramUniform2dvEXT(int program, int location, double[] value) Array version of:ProgramUniform2dvEXTstatic voidglProgramUniform2dvEXT(int program, int location, DoubleBuffer value) DSA version ofUniform2dv.static voidglProgramUniform3dEXT(int program, int location, double x, double y, double z) DSA version ofUniform3d.static voidglProgramUniform3dvEXT(int program, int location, double[] value) Array version of:ProgramUniform3dvEXTstatic voidglProgramUniform3dvEXT(int program, int location, DoubleBuffer value) DSA version ofUniform3dv.static voidglProgramUniform4dEXT(int program, int location, double x, double y, double z, double w) DSA version ofUniform4d.static voidglProgramUniform4dvEXT(int program, int location, double[] value) Array version of:ProgramUniform4dvEXTstatic voidglProgramUniform4dvEXT(int program, int location, DoubleBuffer value) DSA version ofUniform4dv.static voidglProgramUniformMatrix2dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix2dvEXTstatic voidglProgramUniformMatrix2dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix2dv.static voidglProgramUniformMatrix2x3dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix2x3dvEXTstatic voidglProgramUniformMatrix2x3dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix2x3dv.static voidglProgramUniformMatrix2x4dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix2x4dvEXTstatic voidglProgramUniformMatrix2x4dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix2x4dv.static voidglProgramUniformMatrix3dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix3dvEXTstatic voidglProgramUniformMatrix3dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix3dv.static voidglProgramUniformMatrix3x2dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix3x2dvEXTstatic voidglProgramUniformMatrix3x2dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix3x2dv.static voidglProgramUniformMatrix3x4dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix3x4dvEXTstatic voidglProgramUniformMatrix3x4dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix3x4dv.static voidglProgramUniformMatrix4dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix4dvEXTstatic voidglProgramUniformMatrix4dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix4dv.static voidglProgramUniformMatrix4x2dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix4x2dvEXTstatic voidglProgramUniformMatrix4x2dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix4x2dv.static voidglProgramUniformMatrix4x3dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix4x3dvEXTstatic voidglProgramUniformMatrix4x3dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix4x3dv.static voidglUniform1d(int location, double x) Specifies the value of a double uniform variable for the current program object.static voidglUniform1dv(int location, double[] value) Array version of:Uniform1dvstatic voidglUniform1dv(int location, DoubleBuffer value) Specifies the value of a single double uniform variable or a double uniform variable array for the current program object.static voidglUniform2d(int location, double x, double y) Specifies the value of a dvec2 uniform variable for the current program object.static voidglUniform2dv(int location, double[] value) Array version of:Uniform2dvstatic voidglUniform2dv(int location, DoubleBuffer value) Specifies the value of a single dvec2 uniform variable or a dvec2 uniform variable array for the current program object.static voidglUniform3d(int location, double x, double y, double z) Specifies the value of a dvec3 uniform variable for the current program object.static voidglUniform3dv(int location, double[] value) Array version of:Uniform3dvstatic voidglUniform3dv(int location, DoubleBuffer value) Specifies the value of a single dvec3 uniform variable or a dvec3 uniform variable array for the current program object.static voidglUniform4d(int location, double x, double y, double z, double w) Specifies the value of a dvec4 uniform variable for the current program object.static voidglUniform4dv(int location, double[] value) Array version of:Uniform4dvstatic voidglUniform4dv(int location, DoubleBuffer value) Specifies the value of a single dvec4 uniform variable or a dvec4 uniform variable array for the current program object.static voidglUniformMatrix2dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix2dvstatic voidglUniformMatrix2dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat2 uniform variable or a dmat2 uniform variable array for the current program object.static voidglUniformMatrix2x3dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix2x3dvstatic voidglUniformMatrix2x3dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat2x3 uniform variable or a dmat2x3 uniform variable array for the current program object.static voidglUniformMatrix2x4dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix2x4dvstatic voidglUniformMatrix2x4dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat2x4 uniform variable or a dmat2x4 uniform variable array for the current program object.static voidglUniformMatrix3dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix3dvstatic voidglUniformMatrix3dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat3 uniform variable or a dmat3 uniform variable array for the current program object.static voidglUniformMatrix3x2dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix3x2dvstatic voidglUniformMatrix3x2dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat3x2 uniform variable or a dmat3x2 uniform variable array for the current program object.static voidglUniformMatrix3x4dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix3x4dvstatic voidglUniformMatrix3x4dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat3x4 uniform variable or a dmat3x4 uniform variable array for the current program object.static voidglUniformMatrix4dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix4dvstatic voidglUniformMatrix4dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat4 uniform variable or a dmat4 uniform variable array for the current program object.static voidglUniformMatrix4x2dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix4x2dvstatic voidglUniformMatrix4x2dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat4x2 uniform variable or a dmat4x2 uniform variable array for the current program object.static voidglUniformMatrix4x3dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix4x3dvstatic voidglUniformMatrix4x3dv(int location, boolean transpose, DoubleBuffer value) Specifies the value of a single dmat4x3 uniform variable or a dmat4x3 uniform variable array for the current program object.static voidnglGetUniformdv(int program, int location, long params) Unsafe version of:GetUniformdvstatic voidnglProgramUniform1dvEXT(int program, int location, int count, long value) Unsafe version of:ProgramUniform1dvEXTstatic voidnglProgramUniform2dvEXT(int program, int location, int count, long value) Unsafe version of:ProgramUniform2dvEXTstatic voidnglProgramUniform3dvEXT(int program, int location, int count, long value) Unsafe version of:ProgramUniform3dvEXTstatic voidnglProgramUniform4dvEXT(int program, int location, int count, long value) Unsafe version of:ProgramUniform4dvEXTstatic voidnglProgramUniformMatrix2dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix2dvEXTstatic voidnglProgramUniformMatrix2x3dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix2x3dvEXTstatic voidnglProgramUniformMatrix2x4dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix2x4dvEXTstatic voidnglProgramUniformMatrix3dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix3dvEXTstatic voidnglProgramUniformMatrix3x2dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix3x2dvEXTstatic voidnglProgramUniformMatrix3x4dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix3x4dvEXTstatic voidnglProgramUniformMatrix4dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix4dvEXTstatic voidnglProgramUniformMatrix4x2dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix4x2dvEXTstatic voidnglProgramUniformMatrix4x3dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix4x3dvEXTstatic voidnglUniform1dv(int location, int count, long value) Unsafe version of:Uniform1dvstatic voidnglUniform2dv(int location, int count, long value) Unsafe version of:Uniform2dvstatic voidnglUniform3dv(int location, int count, long value) Unsafe version of:Uniform3dvstatic voidnglUniform4dv(int location, int count, long value) Unsafe version of:Uniform4dvstatic voidnglUniformMatrix2dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix2dvstatic voidnglUniformMatrix2x3dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix2x3dvstatic voidnglUniformMatrix2x4dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix2x4dvstatic voidnglUniformMatrix3dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix3dvstatic voidnglUniformMatrix3x2dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix3x2dvstatic voidnglUniformMatrix3x4dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix3x4dvstatic voidnglUniformMatrix4dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix4dvstatic voidnglUniformMatrix4x2dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix4x2dvstatic voidnglUniformMatrix4x3dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix4x3dv
-
Field Details
-
GL_DOUBLE_VEC2
public static final int GL_DOUBLE_VEC2Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_VEC3
public static final int GL_DOUBLE_VEC3Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_VEC4
public static final int GL_DOUBLE_VEC4Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT2
public static final int GL_DOUBLE_MAT2Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT3
public static final int GL_DOUBLE_MAT3Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT4
public static final int GL_DOUBLE_MAT4Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT2x3
public static final int GL_DOUBLE_MAT2x3Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT2x4
public static final int GL_DOUBLE_MAT2x4Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT3x2
public static final int GL_DOUBLE_MAT3x2Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT3x4
public static final int GL_DOUBLE_MAT3x4Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT4x2
public static final int GL_DOUBLE_MAT4x2Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
GL_DOUBLE_MAT4x3
public static final int GL_DOUBLE_MAT4x3Returned in thetypeparameter of GetActiveUniform, and GetTransformFeedbackVarying.- See Also:
-
-
Method Details
-
glUniform1d
public static void glUniform1d(int location, double x) Specifies the value of a double uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedx- the uniform x value
-
glUniform2d
public static void glUniform2d(int location, double x, double y) Specifies the value of a dvec2 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y value
-
glUniform3d
public static void glUniform3d(int location, double x, double y, double z) Specifies the value of a dvec3 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y valuez- the uniform z value
-
glUniform4d
public static void glUniform4d(int location, double x, double y, double z, double w) Specifies the value of a dvec4 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y valuez- the uniform z valuew- the uniform w value
-
nglUniform1dv
public static void nglUniform1dv(int location, int count, long value) Unsafe version of:Uniform1dv- Parameters:
count- the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
-
glUniform1dv
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 modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
nglUniform2dv
public static void nglUniform2dv(int location, int count, long value) Unsafe version of:Uniform2dv- Parameters:
count- the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
-
glUniform2dv
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 modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
nglUniform3dv
public static void nglUniform3dv(int location, int count, long value) Unsafe version of:Uniform3dv- Parameters:
count- the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
-
glUniform3dv
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 modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
nglUniform4dv
public static void nglUniform4dv(int location, int count, long value) Unsafe version of:Uniform4dv- Parameters:
count- the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
-
glUniform4dv
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 modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
nglUniformMatrix2dv
public static void nglUniformMatrix2dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix2dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix2dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglUniformMatrix3dv
public static void nglUniformMatrix3dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix3dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix3dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglUniformMatrix4dv
public static void nglUniformMatrix4dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix4dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix4dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglUniformMatrix2x3dv
public static void nglUniformMatrix2x3dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix2x3dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix2x3dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglUniformMatrix2x4dv
public static void nglUniformMatrix2x4dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix2x4dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix2x4dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglUniformMatrix3x2dv
public static void nglUniformMatrix3x2dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix3x2dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix3x2dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglUniformMatrix3x4dv
public static void nglUniformMatrix3x4dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix3x4dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix3x4dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglUniformMatrix4x2dv
public static void nglUniformMatrix4x2dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix4x2dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix4x2dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglUniformMatrix4x3dv
public static void nglUniformMatrix4x3dv(int location, int count, boolean transpose, long value) Unsafe version of:UniformMatrix4x3dv- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glUniformMatrix4x3dv
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 modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglGetUniformdv
public static void nglGetUniformdv(int program, int location, long params) Unsafe version of:GetUniformdv -
glGetUniformdv
Returns the double value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queriedparams- the value of the specified uniform variable
-
glGetUniformd
public static double glGetUniformd(int program, int location) Returns the double value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queried
-
glProgramUniform1dEXT
public static void glProgramUniform1dEXT(int program, int location, double x) DSA version ofUniform1d.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedx- the uniform x value
-
glProgramUniform2dEXT
public static void glProgramUniform2dEXT(int program, int location, double x, double y) DSA version ofUniform2d.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y value
-
glProgramUniform3dEXT
public static void glProgramUniform3dEXT(int program, int location, double x, double y, double z) DSA version ofUniform3d.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y valuez- the uniform z value
-
glProgramUniform4dEXT
public static void glProgramUniform4dEXT(int program, int location, double x, double y, double z, double w) DSA version ofUniform4d.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedx- the uniform x valuey- the uniform y valuez- the uniform z valuew- the uniform w value
-
nglProgramUniform1dvEXT
public static void nglProgramUniform1dvEXT(int program, int location, int count, long value) Unsafe version of:ProgramUniform1dvEXT- Parameters:
count- the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
-
glProgramUniform1dvEXT
DSA version ofUniform1dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
nglProgramUniform2dvEXT
public static void nglProgramUniform2dvEXT(int program, int location, int count, long value) Unsafe version of:ProgramUniform2dvEXT- Parameters:
count- the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
-
glProgramUniform2dvEXT
DSA version ofUniform2dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
nglProgramUniform3dvEXT
public static void nglProgramUniform3dvEXT(int program, int location, int count, long value) Unsafe version of:ProgramUniform3dvEXT- Parameters:
count- the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
-
glProgramUniform3dvEXT
DSA version ofUniform3dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
nglProgramUniform4dvEXT
public static void nglProgramUniform4dvEXT(int program, int location, int count, long value) Unsafe version of:ProgramUniform4dvEXT- Parameters:
count- the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.
-
glProgramUniform4dvEXT
DSA version ofUniform4dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable
-
nglProgramUniformMatrix2dvEXT
public static void nglProgramUniformMatrix2dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix2dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix2dvEXT
public static void glProgramUniformMatrix2dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix2dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglProgramUniformMatrix3dvEXT
public static void nglProgramUniformMatrix3dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix3dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix3dvEXT
public static void glProgramUniformMatrix3dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix3dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglProgramUniformMatrix4dvEXT
public static void nglProgramUniformMatrix4dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix4dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix4dvEXT
public static void glProgramUniformMatrix4dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix4dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglProgramUniformMatrix2x3dvEXT
public static void nglProgramUniformMatrix2x3dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix2x3dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix2x3dvEXT
public static void glProgramUniformMatrix2x3dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix2x3dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglProgramUniformMatrix2x4dvEXT
public static void nglProgramUniformMatrix2x4dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix2x4dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix2x4dvEXT
public static void glProgramUniformMatrix2x4dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix2x4dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglProgramUniformMatrix3x2dvEXT
public static void nglProgramUniformMatrix3x2dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix3x2dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix3x2dvEXT
public static void glProgramUniformMatrix3x2dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix3x2dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglProgramUniformMatrix3x4dvEXT
public static void nglProgramUniformMatrix3x4dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix3x4dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix3x4dvEXT
public static void glProgramUniformMatrix3x4dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix3x4dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglProgramUniformMatrix4x2dvEXT
public static void nglProgramUniformMatrix4x2dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix4x2dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix4x2dvEXT
public static void glProgramUniformMatrix4x2dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix4x2dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
nglProgramUniformMatrix4x3dvEXT
public static void nglProgramUniformMatrix4x3dvEXT(int program, int location, int count, boolean transpose, long value) Unsafe version of:ProgramUniformMatrix4x3dvEXT- Parameters:
count- the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.
-
glProgramUniformMatrix4x3dvEXT
public static void glProgramUniformMatrix4x3dvEXT(int program, int location, boolean transpose, DoubleBuffer value) DSA version ofUniformMatrix4x3dv.- Parameters:
program- the program object to updatelocation- the location of the uniform variable to be modifiedtranspose- whether to transpose the matrix as the values are loaded into the uniform variablevalue- a pointer to an array ofcountvalues that will be used to update the specified uniform matrix variable
-
glUniform1dv
public static void glUniform1dv(int location, double[] value) Array version of:Uniform1dv -
glUniform2dv
public static void glUniform2dv(int location, double[] value) Array version of:Uniform2dv -
glUniform3dv
public static void glUniform3dv(int location, double[] value) Array version of:Uniform3dv -
glUniform4dv
public static void glUniform4dv(int location, double[] value) Array version of:Uniform4dv -
glUniformMatrix2dv
public static void glUniformMatrix2dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix2dv -
glUniformMatrix3dv
public static void glUniformMatrix3dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix3dv -
glUniformMatrix4dv
public static void glUniformMatrix4dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix4dv -
glUniformMatrix2x3dv
public static void glUniformMatrix2x3dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix2x3dv -
glUniformMatrix2x4dv
public static void glUniformMatrix2x4dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix2x4dv -
glUniformMatrix3x2dv
public static void glUniformMatrix3x2dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix3x2dv -
glUniformMatrix3x4dv
public static void glUniformMatrix3x4dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix3x4dv -
glUniformMatrix4x2dv
public static void glUniformMatrix4x2dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix4x2dv -
glUniformMatrix4x3dv
public static void glUniformMatrix4x3dv(int location, boolean transpose, double[] value) Array version of:UniformMatrix4x3dv -
glGetUniformdv
public static void glGetUniformdv(int program, int location, double[] params) Array version of:GetUniformdv -
glProgramUniform1dvEXT
public static void glProgramUniform1dvEXT(int program, int location, double[] value) Array version of:ProgramUniform1dvEXT -
glProgramUniform2dvEXT
public static void glProgramUniform2dvEXT(int program, int location, double[] value) Array version of:ProgramUniform2dvEXT -
glProgramUniform3dvEXT
public static void glProgramUniform3dvEXT(int program, int location, double[] value) Array version of:ProgramUniform3dvEXT -
glProgramUniform4dvEXT
public static void glProgramUniform4dvEXT(int program, int location, double[] value) Array version of:ProgramUniform4dvEXT -
glProgramUniformMatrix2dvEXT
public static void glProgramUniformMatrix2dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix2dvEXT -
glProgramUniformMatrix3dvEXT
public static void glProgramUniformMatrix3dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix3dvEXT -
glProgramUniformMatrix4dvEXT
public static void glProgramUniformMatrix4dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix4dvEXT -
glProgramUniformMatrix2x3dvEXT
public static void glProgramUniformMatrix2x3dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix2x3dvEXT -
glProgramUniformMatrix2x4dvEXT
public static void glProgramUniformMatrix2x4dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix2x4dvEXT -
glProgramUniformMatrix3x2dvEXT
public static void glProgramUniformMatrix3x2dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix3x2dvEXT -
glProgramUniformMatrix3x4dvEXT
public static void glProgramUniformMatrix3x4dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix3x4dvEXT -
glProgramUniformMatrix4x2dvEXT
public static void glProgramUniformMatrix4x2dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix4x2dvEXT -
glProgramUniformMatrix4x3dvEXT
public static void glProgramUniformMatrix4x3dvEXT(int program, int location, boolean transpose, double[] value) Array version of:ProgramUniformMatrix4x3dvEXT
-