getCodes method

dynamic getCodes(
  1. dynamic shaderStage
)

Implementation

getCodes(shaderStage) {
  var codes = this.codes[shaderStage];

  var code = '';

  for (var nodeCode in codes) {
    code += nodeCode.code + '\n';
  }

  return code;
}