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);
}