Package io.github.douira.glsl_transformer.cst.transform


package io.github.douira.glsl_transformer.cst.transform
  • Class
    Description
    Shader code is expected to be roughly structured as follows: version, extensions, other directives (#define, #pragma etc.), declarations (layout etc.), functions (void main etc.).
    Implements the execution planner by providing the boilerplate code for setting up an input, a lexer and a parser.
    The execution planner finds a valid way of satisfying the root transformation's dependencies.
    A run phase simply executes one method when it is executed in a level by the execution planner.
    The transformation holds information about dependencies between transformation phases and nested transformations.
    The transformations phase is the smallest unit of the transformation process.
    The transformation phase base class already contains most of the functionality of a regular transformation phase but can't be used as an item in the execution planner.
    The walk phase is a phase on which the listener methods of the generated listener interface are called.