| 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 | Interface and Description |
|---|---|
interface |
JCGLProgramShaderType
The type of program shaders.
|
| Modifier and Type | Method and Description |
|---|---|
JCGLProgramShaderUsableType |
JCGLProgramUniformType.getProgram() |
JCGLProgramShaderUsableType |
JCGLProgramAttributeType.getProgram() |
| Modifier and Type | Method and Description |
|---|---|
Optional<JCGLProgramShaderUsableType> |
JCGLShadersType.shaderActivatedProgram() |
| Modifier and Type | Method and Description |
|---|---|
void |
JCGLShadersType.shaderActivateProgram(JCGLProgramShaderUsableType p)
Activate the given program for use in rendering.
|
| Modifier and Type | Method and Description |
|---|---|
JCGLProgramShaderUsableType |
FakeProgramUniform.getProgram() |
JCGLProgramShaderUsableType |
FakeProgramAttribute.getProgram() |
| 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.
|
| 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,
int in_size)
Construct a uniform.
|
Copyright © 2016 <code@io7m.com> http://io7m.com