Class ForLoopNode
java.lang.Object
foundry.veil.api.glsl.node.branch.ForLoopNode
- All Implemented Interfaces:
GlslNode
Represents for loops.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionForLoopNode
(GlslNode init, GlslNode condition, @Nullable GlslNode increment, Collection<GlslNode> body) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBody()
@Nullable GlslNode
getInit()
int
hashCode()
setCondition
(GlslNode condition) setIncrement
(@Nullable GlslNode increment) stream()
toString()
-
Constructor Details
-
ForLoopNode
public ForLoopNode(GlslNode init, GlslNode condition, @Nullable @Nullable GlslNode increment, Collection<GlslNode> body)
-
-
Method Details
-
getInit
-
getCondition
-
getIncrement
-
getBody
-
setInit
-
setCondition
-
setIncrement
-
equals
-
hashCode
public int hashCode() -
toString
-
getSourceString
- Specified by:
getSourceString
in interfaceGlslNode
-
stream
-