compileCubemapShader method
void
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
/// * Pre-compiles the cubemap shader. You can get faster start-up by invoking this method during
/// * your texture's network fetch for increased concurrency.
/// *
void compileCubemapShader() {
if (_cubemapMaterial == null) {
_cubemapMaterial = _getCubemapShader();
_compileMaterial(_cubemapMaterial);
}
}