Synced
RenderingBackendCatalog.CreateDevice
Section titled “RenderingBackendCatalog.CreateDevice”
- Creates a device using this implementation’s validated inputs.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Adapter.Rendering
Declaration
Section titled “Declaration”public Inno.Rendering.IRenderDevice Inno.Adapter.Rendering.RenderingBackendCatalog.CreateDevice(Inno.Adapter.Rendering.RenderingBackendId backend, Inno.Adapter.Rendering.RenderingBackendOptions options)Parameters
Section titled “Parameters”Parameter backend: The backend consumed by create device; ownership remains with the caller unless explicitly stated otherwise.
Parameter options: The validated configuration that controls this operation.
Returns
Section titled “Returns”The validated irender device that represents the completed operation.
Exceptions
Section titled “Exceptions”Exception T:System.NotSupportedException: No provider is registered for this exact backend ID.