Class GlslForLoopNode
java.lang.Object
io.github.ocelot.glslprocessor.api.node.branch.GlslForLoopNode
- All Implemented Interfaces:
GlslNode
Represents for loops.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionGlslForLoopNode(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()voidvisit(GlslNodeVisitor visitor) Visits this node.
-
Constructor Details
-
GlslForLoopNode
public GlslForLoopNode(GlslNode init, GlslNode condition, @Nullable @Nullable GlslNode increment, Collection<GlslNode> body)
-
-
Method Details
-
getInit
-
getCondition
-
getIncrement
-
getBody
-
setInit
-
setCondition
-
setIncrement
-
visit
Description copied from interface:GlslNodeVisits this node. -
getNodeType
- Specified by:
getNodeTypein interfaceGlslNode- Returns:
- The type of node this class represents
-
equals
-
hashCode
public int hashCode() -
toString
-
stream
-