| Package | Description |
|---|---|
| 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 |
|---|---|
void |
FakeShaderListenerType.onCompileFragmentShaderStart(FakeContext context,
String name,
List<String> sources)
Called when the fragment shader
name is about to be compiled. |
void |
FakeShaderListenerType.onCompileGeometryShaderStart(FakeContext context,
String name,
List<String> sources)
Called when the geometry shader
name is about to be compiled. |
void |
FakeShaderListenerType.onCompileVertexShaderStart(FakeContext context,
String name,
List<String> sources)
Called when the vertex shader
name is about to be compiled. |
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.
|
| Constructor and Description |
|---|
FakeProgramAttribute(FakeContext in_context,
JCGLProgramShaderUsableType in_program,
int in_location,
String in_name,
JCGLType in_type)
Construct an attribute.
|
FakeProgramUniform(FakeContext in_context,
JCGLProgramShaderUsableType in_program,
int in_location,
String in_name,
JCGLType in_type)
Construct a uniform.
|
Copyright © 2015 <code@io7m.com> http://io7m.com