| 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.getUniforms() |
| 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.MatrixDirectReadable3x3FType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutMatrix4x4f(JCGLProgramUniformType u,
com.io7m.jtensors.MatrixDirectReadable4x4FType 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.VectorReadable2FType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector2i(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable2IType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector2ui(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable2IType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector3f(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable3FType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector3i(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable3IType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector3ui(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable3IType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector4f(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable4FType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector4i(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable4IType value)
Upload the value
value to the uniform u. |
void |
JCGLShaderUniformsType.shaderUniformPutVector4ui(JCGLProgramUniformType u,
com.io7m.jtensors.VectorReadable4IType 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 © 2015 <code@io7m.com> http://io7m.com