Class GlslAssignmentNode
java.lang.Object
io.github.ocelot.glslprocessor.api.node.expression.GlslAssignmentNode
- All Implemented Interfaces:
GlslNode
- Since:
- 1.0.0
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionGlslAssignmentNode(GlslNode first, GlslNode second, GlslAssignmentNode.Operand operand) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFirst()@Nullable GlslSpecifiedTypegetType()inthashCode()setOperand(GlslAssignmentNode.Operand operand) stream()toString()voidvisit(GlslNodeVisitor visitor) Visits this node.
-
Constructor Details
-
GlslAssignmentNode
- Parameters:
first- The first operandsecond- The second operandoperand- The operand to perform when setting the first to the second
-
-
Method Details
-
visit
Description copied from interface:GlslNodeVisits this node. -
getNodeType
- Specified by:
getNodeTypein interfaceGlslNode- Returns:
- The type of node this class represents
-
getType
-
getFirst
- Returns:
- The first operand
-
getSecond
- Returns:
- The second operand
-
getOperand
- Returns:
- The operand to perform when setting the first to the second
-
setFirst
-
setSecond
-
setOperand
-
equals
-
hashCode
public int hashCode() -
stream
-
toString
-