de.grogra.imp3d.glsl.renderable
public abstract class GLSLInstanceableRenderable extends GLSLRenderable
| Modifier and Type | Field and Description |
|---|---|
static byte |
DIRECT |
static byte |
INDIRECT |
static byte |
INSTANCIATED |
| Constructor and Description |
|---|
GLSLInstanceableRenderable() |
| Modifier and Type | Method and Description |
|---|---|
void |
updateInstance(java.lang.Object reference,
java.lang.Object state,
boolean asNode,
GraphState gs) |
protected abstract void |
updateInstanceByInstancing(Renderable reference,
GraphState gs) |
protected abstract void |
updateInstanceDirect(Renderable reference) |
protected abstract void |
updateInstanceIndirect(java.lang.Object state,
boolean asNode,
GraphState gs) |
activateShader, draw, drawAlt, findShader, getInstance, instanceFor, isShaderDependantpublic static final byte DIRECT
public static final byte INDIRECT
public static final byte INSTANCIATED
public void updateInstance(java.lang.Object reference,
java.lang.Object state,
boolean asNode,
GraphState gs)
updateInstance in class GLSLRenderableprotected abstract void updateInstanceByInstancing(Renderable reference, GraphState gs)
protected abstract void updateInstanceDirect(Renderable reference)
protected abstract void updateInstanceIndirect(java.lang.Object state,
boolean asNode,
GraphState gs)