assetShader method

int assetShader(
  1. int type,
  2. String filename
)

Implementation

int assetShader(int type, String filename) {
  final shaderStr = loadAsset(filename);
  return stringShader(type, shaderStr);
}