Package io.github.douira.glsl_transformer.transform
package io.github.douira.glsl_transformer.transform
-
ClassDescriptionExecutionPlanner<T extends JobParameters>The execution planner finds a valid way of satisfying the root transformation's dependencies.The filter token source wraps another token source but reads tokens from it until a given filter accepts one.The default
WrappedParametersimplementation uses theNonFixedJobParameterswhich means that it never produces cached execution plans.All job parameters have to extend this job parameter base class.LifecycleUser<T extends JobParameters>Implemented by classes that have an execution planner parent and can receive job parameters.LifecycleUserImpl<T extends JobParameters>This implementation of a lifecycle user may be used if a class can be extended.This class is used when the job parameters have no fixed part and the execution plan can't be statically optimized for certain job parameter combinations.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.TransformationManager<T extends JobParameters>Implements the execution planner by providing the boilerplate code for setting up an input, a lexer and a parser.TransformationPhase<T extends JobParameters>The transformations phase actually does a specific transformation.Shader code is expected to be roughly structured as follows: version, extensions, other directives (#define, #pragma etc.), declarations (layout etc.), functions (void main etc.).WalkPhase<T extends JobParameters>The walk phase is a phase on which the listener methods of the generated listener interface are called.This class simply wraps a parameter object that extends the job parameter type.