Package io.github.douira.glsl_transformer.cst.transform
package io.github.douira.glsl_transformer.cst.transform
-
ClassDescriptionShader code is expected to be roughly structured as follows: version, extensions, other directives (#define, #pragma etc.), declarations (layout etc.), functions (void main etc.).CSTTransformer<T extends JobParameters>Implements the execution planner by providing the boilerplate code for setting up an input, a lexer and a parser.ExecutionPlanner<T extends JobParameters>The execution planner finds a valid way of satisfying the root transformation's dependencies.RunPhase<T extends JobParameters>A run phase simply executes one method when it is executed in a level by the execution planner.Transformation<T extends JobParameters>The transformation holds information about dependencies between transformation phases and nested transformations.TransformationPhase<T extends JobParameters>The transformations phase is the smallest unit of the transformation process.TransformationPhaseBase<T extends JobParameters>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.WalkPhase<T extends JobParameters>The walk phase is a phase on which the listener methods of the generated listener interface are called.