public interface JCGLShaderUniformsType
| Modifier and Type | Method and Description |
|---|---|
void |
shaderUniformPutFloat(JCGLProgramUniformType u,
float value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutInteger(JCGLProgramUniformType u,
int value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutMatrix3x3f(JCGLProgramUniformType u,
com.io7m.jtensors.MatrixDirect3x3FType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutMatrix4x4f(JCGLProgramUniformType u,
com.io7m.jtensors.MatrixDirect4x4FType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutTexture2DUnit(JCGLProgramUniformType u,
JCGLTextureUnitType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutTextureCubeUnit(JCGLProgramUniformType u,
JCGLTextureUnitType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutUnsignedInteger(JCGLProgramUniformType u,
int value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector2f(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable2FType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector2i(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable2IType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector2ui(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable2IType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector3f(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable3FType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector3i(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable3IType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector3ui(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable3IType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector4f(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable4FType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector4i(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable4IType value)
Upload the value
value to the uniform u. |
void |
shaderUniformPutVector4ui(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable4IType value)
Upload the value
value to the uniform u. |
void |
shaderUniformSetActivityCheckingEnabled(boolean enabled)
Enable or disable checking that a program is active when attempting to
assign values to uniforms.
|
void |
shaderUniformSetTypeCheckingEnabled(boolean enabled)
Enable or disable checking of the types of assigned uniforms.
|
void shaderUniformSetTypeCheckingEnabled(boolean enabled)
enabled - true iff type checking should be performed.void shaderUniformSetActivityCheckingEnabled(boolean enabled)
enabled - true iff activity checking should be performed.void shaderUniformPutFloat(JCGLProgramUniformType u, float value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutInteger(JCGLProgramUniformType u, int value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutUnsignedInteger(JCGLProgramUniformType u, int value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector2f(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable2FType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector3f(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable3FType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector4f(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable4FType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector2i(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable2IType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector3i(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable3IType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector4i(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable4IType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector2ui(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable2IType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector3ui(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable3IType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutVector4ui(JCGLProgramUniformType u, com.io7m.jtensors.VectorReadable4IType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutMatrix3x3f(JCGLProgramUniformType u, com.io7m.jtensors.MatrixDirect3x3FType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutMatrix4x4f(JCGLProgramUniformType u, com.io7m.jtensors.MatrixDirect4x4FType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutTexture2DUnit(JCGLProgramUniformType u, JCGLTextureUnitType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)void shaderUniformPutTextureCubeUnit(JCGLProgramUniformType u, JCGLTextureUnitType value) throws JCGLException, JCGLExceptionProgramNotActive, JCGLExceptionProgramTypeError
value to the uniform u.u - The u variable.value - The value.JCGLException - Iff an OpenGL error occurs.JCGLExceptionProgramNotActive - Iff the program to which the uniform
belongs is not active, and program
activity checking is enabledJCGLExceptionProgramTypeError - Iff the program uniform is of the
wrong type, and type checking is
enabledshaderUniformSetTypeCheckingEnabled(boolean),
shaderUniformSetActivityCheckingEnabled(boolean)Copyright © 2015 <code@io7m.com> http://io7m.com