getShader static method

FragmentProgram? getShader(
  1. String cacheId
)

Returns the loaded fragment shader program corresponding to the given cacheId. If the cacheId is not present in the shaderCache, null is returned.

Implementation

static FragmentProgram? getShader(String cacheId) {
  return shaderCache[cacheId];
}