Class WhileLoopNode
java.lang.Object
io.github.ocelot.glslprocessor.api.node.branch.WhileLoopNode
- All Implemented Interfaces:
GlslNode
Represents both while and do/while loops.
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionWhileLoopNode(GlslNode condition, Collection<GlslNode> body, WhileLoopNode.Type loopType) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBody()inthashCode()setCondition(GlslNode condition) setLoopType(WhileLoopNode.Type loopType) stream()
-
Constructor Details
-
WhileLoopNode
-
-
Method Details
-
getCondition
-
getBody
-
getLoopType
-
setCondition
-
setLoopType
-
equals
-
hashCode
public int hashCode() -
getSourceString
- Specified by:
getSourceStringin interfaceGlslNode
-
stream
-