getVars method
dynamic
getVars(
- dynamic shaderStage
Implementation
getVars(shaderStage) {
var snippet = '';
var vars = this.vars[shaderStage];
for (var index = 0; index < vars.length; index++) {
var variable = vars[index];
snippet += "${variable.type} ${variable.name}; ";
}
return snippet;
}