init(configuration:resources:)
Creates a standalone render context using resources prepared ahead of time.
Declaration
init(configuration: LowLevelRenderContextStandalone.Configuration, resources: LowLevelRenderContextStandalone.Resources) throwsParameters
- configuration:
The configuration for the new context.
- resources:
Prepared resources to use for this render context.
Discussion
Prefer this overload when sharing the same resources across multiple render contexts. To create a single context without prepared resources, use init(configuration:) instead.