Class GlslIfNode
java.lang.Object
io.github.ocelot.glslprocessor.api.node.branch.GlslIfNode
- All Implemented Interfaces:
GlslNode
if/else
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionGlslIfNode(GlslNode expression, Collection<GlslNode> first, Collection<GlslNode> second) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFirst()inthashCode()voidsetExpression(GlslNode expression) setFirst(Collection<GlslNode> first) setSecond(Collection<GlslNode> first) stream()toString()voidvisit(GlslNodeVisitor visitor) Visits this node.
-
Constructor Details
-
GlslIfNode
-
-
Method Details
-
getExpression
-
getFirst
-
getSecond
-
setExpression
-
setFirst
-
setSecond
-
visit
Description copied from interface:GlslNodeVisits this node. -
getNodeType
- Specified by:
getNodeTypein interfaceGlslNode- Returns:
- The type of node this class represents
-
stream
-
equals
-
hashCode
public int hashCode() -
toString
-