Class ReplaceDeclarations<T>

java.lang.Object
io.github.douira.glsl_transformer.transform.Transformation<T>
io.github.douira.glsl_transformer.core.ReplaceDeclarations<T>

public class ReplaceDeclarations<T> extends Transformation<T>
The declaration replacement finds layout declarations and replaces all references to them with function calls and other code.
  • Constructor Details

    • ReplaceDeclarations

      public ReplaceDeclarations()
  • Method Details

    • resetState

      protected void resetState()
      Description copied from class: Transformation
      This 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:
      resetState in class Transformation<T>