Class ForLoopNode
java.lang.Object
io.github.ocelot.glslprocessor.api.node.branch.ForLoopNode
- All Implemented Interfaces:
GlslNode
Represents for loops.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionForLoopNode(GlslNode init, GlslNode condition, @Nullable GlslNode increment, Collection<GlslNode> body) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBody()@Nullable GlslNodegetInit()inthashCode()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:
getSourceStringin interfaceGlslNode
-
stream
-