compileCubemapShader method

dynamic compileCubemapShader()

Pre-compiles the cubemap shader. You can get faster start-up by invoking this method during your texture's network fetch for increased concurrency.

Implementation

compileCubemapShader() {
  if (_cubemapMaterial == null) {
    _cubemapMaterial = _getCubemapShader();
    _compileMaterial(_cubemapMaterial);
  }
}