Class GlslTree
java.lang.Object
io.github.ocelot.glslprocessor.api.node.GlslTree
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordHolds data about what block nodes are contained inside of. -
Constructor Summary
ConstructorsConstructorDescriptionGlslTree()GlslTree(GlslVersionStatement versionStatement, Collection<GlslNode> body, Collection<String> directives, Map<String, GlslNode> markers) -
Method Summary
Modifier and TypeMethodDescriptioncontainingBlock(GlslNode node) booleanfields()getBody()inthashCode()voidExplicitly marks all outputs with a layout location if not specified.searchField(String name) static voidstripGLMacros(Map<String, String> macros) toString()voidvisit(GlslTreeVisitor visitor)
-
Constructor Details
-
GlslTree
public GlslTree() -
GlslTree
public GlslTree(GlslVersionStatement versionStatement, Collection<GlslNode> body, Collection<String> directives, Map<String, GlslNode> markers)
-
-
Method Details
-
visit
-
markOutputs
public void markOutputs()Explicitly marks all outputs with a layout location if not specified. -
mainFunction
-
functions
-
field
-
fields
-
searchField
-
containingBlock
-
getVersionStatement
-
getDirectives
-
getMarkers
-
getMacros
-
getBody
-
toSourceString
-
stripGLMacros
-
toString
-
equals
-
hashCode
public int hashCode()
-