SceneLoadCacheOptions

public struct SceneLoadCacheOptions : Hashable

Options for scene load cache.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

  • Capacity of scene load cache as number of entries. At most MapContext.SceneLoadCacheOptions.capacity entries would be preserved in the cache for the entire duration of MapContext lifetime. Default MapContext.SceneLoadCacheOptions.capacity is set to 4. A MapContext.SceneLoadCacheOptions.capacity value less than 1 would disable the scene cache, freeing all existing entries from the cache.

    Declaration

    Swift

    public var capacity: Int32
  • Creates a new instance.

    Declaration

    Swift

    public init(capacity: Int32 = 4)