compileEquirectangularShader method
void
compileEquirectangularShader()
- Pre-compiles the equirectangular shader. You can get faster start-up by invoking this method during
- your texture's network fetch for increased concurrency.
Implementation
/// * Pre-compiles the equirectangular shader. You can get faster start-up by invoking this method during
/// * your texture's network fetch for increased concurrency.
/// *
void compileEquirectangularShader() {
if (_equirectMaterial == null) {
_equirectMaterial = _getEquirectMaterial();
_compileMaterial(_equirectMaterial);
}
}