| Package | Description |
|---|---|
| com.io7m.jcanephora.core |
Core types and interfaces.
|
| com.io7m.jcanephora.core.api |
Type-safe OpenGL interfaces.
|
| com.io7m.jcanephora.fake |
A fake implementation of the
jcanephora APIs intended for unit
testing code without access to a GPU. |
| Modifier and Type | Method and Description |
|---|---|
Map<String,JCGLProgramUniformType> |
JCGLProgramShaderUsableType.uniforms() |
| Modifier and Type | Method and Description |
|---|---|
void |
JCGLShaderUniformsType.shaderUniformPutFloat(JCGLProgramUniformType u,
float value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutInteger(JCGLProgramUniformType u,
int value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutMatrix3x3f(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.matrices.Matrix3x3D value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutMatrix4x4f(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.matrices.Matrix4x4D value)
Upload the value
value to the uniform u. |
<S,T> void |
JCGLShaderUniformsType.shaderUniformPutPMatrix3x3f(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.matrices.PMatrix3x3D<S,T> value)
Upload the value
value to the uniform u. |
<S,T> void |
JCGLShaderUniformsType.shaderUniformPutPMatrix4x4f(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.matrices.PMatrix4x4D<S,T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector2f(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector2D<T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector2i(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector2I<T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector2ui(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector2I<T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector3f(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector3D<T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector3i(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector3I<T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector3ui(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector3I<T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector4f(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector4D<T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector4i(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector4I<T> value)
Upload the value
value to the uniform u. |
<T> void |
JCGLShaderUniformsType.shaderUniformPutPVector4ui(JCGLProgramUniformType u,
com.io7m.jtensors.core.parameterized.vectors.PVector4I<T> value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutTexture2DUnit(JCGLProgramUniformType u,
JCGLTextureUnitType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutTextureCubeUnit(JCGLProgramUniformType u,
JCGLTextureUnitType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutUnsignedInteger(JCGLProgramUniformType u,
int value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector2f(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector2D value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector2i(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector2I value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector2ui(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector2I value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector3f(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector3D value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector3i(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector3I value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector3ui(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector3I value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector4f(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector4D value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector4i(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector4I value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector4ui(JCGLProgramUniformType u,
com.io7m.jtensors.core.unparameterized.vectors.Vector4I value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVectorf(JCGLProgramUniformType u,
FloatBuffer value)
Upload the value
value to the uniform u. |
| Modifier and Type | Class and Description |
|---|---|
class |
FakeProgramUniform
A fake implementation of program attributes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FakeShaderListenerType.onLinkProgram(FakeContext context,
JCGLProgramShaderUsableType p,
String name,
JCGLVertexShaderUsableType v,
Optional<JCGLGeometryShaderUsableType> g,
JCGLFragmentShaderUsableType f,
Map<String,JCGLProgramAttributeType> attributes,
Map<String,JCGLProgramUniformType> uniforms)
Called when a program is about to be linked.
|
Copyright © 2017 <code@io7m.com> http://io7m.com