Interface GlslRootNode
- All Superinterfaces:
GlslNode
- All Known Implementing Classes:
GlslFunctionNode,GlslNewFieldNode,GlslStructDeclarationNode,GlslVariableDeclarationNode
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault GlslVariableDeclarationNodedefault GlslNewFieldNodeasField()default GlslFunctionNodedefault GlslStructDeclarationNodeasStruct()@Nullable StringgetName()default booleandefault booleanisField()default booleandefault booleanisStruct()Methods inherited from interface io.github.ocelot.glslprocessor.api.node.GlslNode
getBody, getNodeType, getType, setBody, setBody, stream, toList, toSourceString, visit
-
Method Details
-
getName
-
setName
-
isDeclaration
default boolean isDeclaration() -
isFunction
default boolean isFunction() -
isField
default boolean isField() -
isStruct
default boolean isStruct() -
asDeclaration
-
asFunction
-
asField
-
asStruct
-