public abstract class GraphNode
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
GraphNode.GraphInput |
| Constructor and Description |
|---|
GraphNode(java.lang.String outputName) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(int i,
GraphNode node)
Equivalent to
getInput(i).connect() |
abstract ShaderScope |
getBestScope() |
abstract Block |
getBlock(Compiler compiler,
ShaderScope scope) |
GraphNode.GraphInput |
getInput(int i) |
java.lang.String |
getName() |
int |
getNumInputs() |
java.lang.String |
getOutputName() |
abstract ShaderScope |
getResultScope() |
void |
setName(java.lang.String name) |
void |
setOutputName(java.lang.String outputName) |
java.lang.String |
toString() |
public final java.lang.String toString()
toString in class java.lang.Objectpublic final java.lang.String getName()
public final void setName(java.lang.String name)
name - the number of input of this nodepublic final java.lang.String getOutputName()
public void setOutputName(java.lang.String outputName)
public final int getNumInputs()
public final GraphNode.GraphInput getInput(int i)
i - indexGraphNode.GraphInput input at the specified indexjava.lang.ArrayIndexOutOfBoundsException - if i is not in range [0;getNumInputs()[public final void connect(int i,
GraphNode node)
getInput(i).connect()public abstract ShaderScope getResultScope()
public abstract ShaderScope getBestScope()
public abstract Block getBlock(Compiler compiler, ShaderScope scope)
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com