Contents

init(samplingQuality:specularCubeDimension:compression:)

Creates an environment creation options structure.

Declaration

init(samplingQuality: EnvironmentResource.CreateOptions.SamplingQuality = .fast, specularCubeDimension: Int? = nil, compression: EnvironmentResource.Compression = .default)

Parameters

  • 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.