Package foundry.veil.api.glsl.visitor
Class GlslStringWriter
java.lang.Object
foundry.veil.api.glsl.visitor.GlslStringWriter
- All Implemented Interfaces:
GlslTreeVisitor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
void
visitDeclaration
(GlslDeclarationNode declaration) void
visitDirective
(String directive) void
visitField
(GlslNewNode newNode) @Nullable GlslFunctionVisitor
void
visitMacro
(String key, String value) void
visitMarkers
(Map<String, GlslNode> markers) void
visitStruct
(GlslStructNode structSpecifier) void
void
visitVersion
(GlslVersionStatement version)
-
Constructor Details
-
GlslStringWriter
public GlslStringWriter()
-
-
Method Details
-
visitMarkers
- Specified by:
visitMarkers
in interfaceGlslTreeVisitor
-
visitVersion
- Specified by:
visitVersion
in interfaceGlslTreeVisitor
-
visitDirective
- Specified by:
visitDirective
in interfaceGlslTreeVisitor
-
visitMacro
- Specified by:
visitMacro
in interfaceGlslTreeVisitor
-
visitField
- Specified by:
visitField
in interfaceGlslTreeVisitor
-
visitStruct
- Specified by:
visitStruct
in interfaceGlslTreeVisitor
-
visitDeclaration
- Specified by:
visitDeclaration
in interfaceGlslTreeVisitor
-
visitFunction
- Specified by:
visitFunction
in interfaceGlslTreeVisitor
-
visitTreeEnd
public void visitTreeEnd()- Specified by:
visitTreeEnd
in interfaceGlslTreeVisitor
-
toString
-