includeReplacer method
dynamic
includeReplacer(
- dynamic match,
- dynamic include
Implementation
includeReplacer(match, include) {
var string = ShaderChunk[include];
if (string == null) {
throw ('Can not resolve #include <$include>');
}
return resolveIncludes(string);
}