Contents

init(configuration:renderContext:)

Asynchronously compiles all shader and pipeline resources for the given configuration and render context.

Declaration

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

Parameters

  • configuration:

    The renderer configuration that determines which pipelines to compile.

  • renderContext:

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

Discussion