Contents

init(configuration:)

Creates a standalone render context, asynchronously preparing required resources.

Declaration

nonisolated(nonsending) init(configuration: LowLevelRenderContextStandalone.Configuration) async throws

Parameters

  • configuration:

    The configuration for the new context.

Discussion

Prefer this overload when creating a single render context. If you need to share prepared resources across multiple contexts, create a LowLevelRenderContextStandalone.Resources value first and use init(configuration:resources:) instead.

See Also

Creating a render context