init(skyboxMode:samplingQuality:specularCubeDimension:compression:)
Creates an environment creation options structure.
Declaration
init(skyboxMode: EnvironmentResource.SkyboxMode, samplingQuality: EnvironmentResource.CreateOptions.SamplingQuality = .fast, specularCubeDimension: Int? = nil, compression: EnvironmentResource.Compression = .default)Parameters
- skyboxMode:
Skybox’s preservation in the environment resource.
- samplingQuality:
The skybox sampling quality for lighting textures.
- specularCubeDimension:
The dimension of the computed specular cubemap for material reflections.
- compression:
The compression to apply to environment textures.