Function glslt::transform::transform [−][src]
pub fn transform<'a>(
asts: impl Iterator<Item = &'a TranslationUnit>
) -> Result<TranslationUnit>
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.