Contents

init(configuration:renderContext:)

Creates a renderer, asynchronously compiling all required GPU resources.

Declaration

nonisolated(nonsending) convenience init(configuration: LowLevelRenderer.Configuration, renderContext: any LowLevelRenderContext) async throws

Parameters

  • configuration:

    The immutable configuration for this renderer, including output formats and MSAA settings.

  • renderContext:

    The render context that provides the Metal device and factory methods.

Discussion

See Also

Creating a renderer