Inno.Adapter.Rendering.Authoring
Section titled “Inno.Adapter.Rendering.Authoring”
- Backend-matched shader and texture compiler factories for authoring hosts.
Backend-matched shader and texture compiler factories for authoring hosts.
Start with rendering tasks and frame ownership.
Pair with runtime registration
Section titled “Pair with runtime registration”IRenderingAuthoringBackendFactory creates shader and texture target compilers through neutral asset-authoring contracts. It selects by the same open RenderingBackendId used for runtime device creation. Concrete shaderc/texturec tools, process execution and physical paths remain backend implementation details.
RenderingAuthoringBackendProvider captures its immutable ID in the protected constructor and supplies both compiler factories. This is explicit composition registration, not type discovery; it does not override an ID getter or probe a device to discover identity.
RenderingAuthoringBackendCatalog freezes providers and validates exact pairing with runtime backend IDs before allocating a native device. Unassigned, duplicate and unmatched registration sets fail with ArgumentException. Unknown IDs fail at creation; supportedBackends reports the frozen set.
Authoring-only dependency direction
Section titled “Authoring-only dependency direction”DefaultAuthoringAdapterCatalog receives the explicit runtime options and authoring/presentation providers. The rendering factory and authoring collection must pair; no null-default BGFX path exists. Provider lifetime belongs to the containing composition.
This assembly can depend on Rendering.Assets.Authoring. Runtime Rendering adapters, the neutral Adapter catalog, DefaultAdapterCatalog, Shell and Player must not depend back on it.
Source boundary
Section titled “Source boundary”The source project defines the host declarations. Source API extraction does not establish script visibility, native behavior or completed generation retirement.
API reference
Section titled “API reference”Source project facts
Section titled “Source project facts”Project: Inno.Adapter.Rendering.Authoring
Source: src/adapters/rendering/Inno.Adapter.Rendering.Authoring/Inno.Adapter.Rendering.Authoring.csproj
| Type | API | Description |
|---|---|---|
| IRenderingAuthoringBackendFactory | engine | Creates offline rendering compilers paired with a selected runtime rendering backend. |
| RenderingAuthoringBackendCatalog | engine | Pairs one immutable authoring provider set with a runtime rendering catalog. |
| RenderingAuthoringBackendProvider | engine | Supplies authoring tools paired with one runtime rendering implementation. |