Package foundry.veil.impl.glsl.node
Interface GlslNode
- All Known Subinterfaces:
GlslConstantNode
- All Known Implementing Classes:
ForLoopNode
,GlslAndNode
,GlslArrayNode
,GlslAssignmentNode
,GlslBoolConstantNode
,GlslCaseLabelNode
,GlslCompareNode
,GlslCompoundNode
,GlslConditionalNode
,GlslDeclaration
,GlslDoubleConstantNode
,GlslEmptyNode
,GlslExclusiveOrNode
,GlslFieldNode
,GlslFloatConstantNode
,GlslFunctionNode
,GlslInclusiveOrNode
,GlslIntConstantNode
,GlslInvokeFunctionNode
,GlslLogicalAndNode
,GlslLogicalOrNode
,GlslLogicalXorNode
,GlslNewNode
,GlslOperationNode
,GlslPrecisionNode
,GlslPrimitiveConstructorNode
,GlslReturnNode
,GlslSelectionNode
,GlslStructNode
,GlslSwitchNode
,GlslUnaryNode
,GlslVariableNode
,JumpNode
,WhileLoopNode
public interface GlslNode
-
Method Summary
Modifier and TypeMethodDescriptionstatic GlslBoolConstantNode
booleanConstant
(boolean value) static GlslNode
static GlslNode
compound
(Collection<GlslNode> nodes) static GlslFloatConstantNode
floatConstant
(float value) default @Nullable GlslSpecifiedType
getType()
static GlslIntConstantNode
intConstant
(int value) stream()
toList()
static GlslIntConstantNode
unsignedIntConstant
(int value)
-
Method Details
-
getSourceString
String getSourceString() -
getType
- Returns:
- The type of this node if it is a field
-
toList
- Returns:
- A new list with the child contents of this node
-
stream
-
intConstant
-
unsignedIntConstant
-
floatConstant
-
booleanConstant
-
compound
-
compound
-