Class ReplaceDeclarations<T>
java.lang.Object
io.github.douira.glsl_transformer.transform.Transformation<T>
io.github.douira.glsl_transformer.core.ReplaceDeclarations<T>
The declaration replacement finds layout declarations and replaces all
references to them with function calls and other code.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.douira.glsl_transformer.transform.Transformation
Transformation.PhaseEntry<T> -
Field Summary
Fields inherited from class io.github.douira.glsl_transformer.transform.Transformation
DEFAULT_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidThis method is called by the phase collector each time a tree is transformed in order to reset or initialize the state of the transformation if it has any.Methods inherited from class io.github.douira.glsl_transformer.transform.Transformation
addConcurrentPhase, addPhase, addPhase, addPhase, addPhase, getDefaultGroup
-
Constructor Details
-
ReplaceDeclarations
public ReplaceDeclarations()
-
-
Method Details
-
resetState
protected void resetState()Description copied from class:TransformationThis method is called by the phase collector each time a tree is transformed in order to reset or initialize the state of the transformation if it has any.- Overrides:
resetStatein classTransformation<T>
-