pub fn transform<'a>(
    asts: impl Iterator<Item = &'a TranslationUnit>,
    config: TransformConfig
) -> Result<TranslationUnit>
Expand description

Transform a GLSLT AST to an instantiated GLSL AST

Parameters

  • asts: iterator of translation units to be concatenated and transformed

Errors

Return an error if the transformation fails. See crate::Error for possible failure reasons.