includeReplacer method

dynamic includeReplacer(
  1. dynamic match,
  2. dynamic include
)

Implementation

includeReplacer(match, include) {
  var string = shaderChunk[include];

  if (string == null) {
    throw ('Can not resolve #include <$include>');
  }

  return resolveIncludes(string);
}