Synced
RenderRuntime
Section titled “RenderRuntime”
- Owns the sole graphics frame boundary and executes model-neutral render requests.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.Rendering.Runtime.IRenderRequestSink, Inno.Rendering.Runtime.IViewContentCollector
Inherits: Inno.Runtime.Contracts.RuntimeSubsystem
Project: Inno.Rendering.Runtime
Declaration
Section titled “Declaration”public sealed class Inno.Rendering.Runtime.RenderRuntime : Inno.Runtime.Contracts.RuntimeSubsystem, Inno.Rendering.Runtime.IRenderRequestSink, Inno.Rendering.Runtime.IViewContentCollectorMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | RenderRuntime.Constructor | Creates a render runtime without installing any concrete pipeline. |
| Methods | RenderRuntime.BeginExtensionReload | Begins an isolated rendering-extension reload transaction at a frame boundary. |
| Methods | RenderRuntime.Collect | Collects frame requests from rendering models and registered providers. |
| Methods | RenderRuntime.EnterExecutionScope | Binds this rendering runtime to script-facing graphics APIs for the current asynchronous execution flow. |
| Methods | RenderRuntime.OnBeginFrame | Captures snapshots and binds service façades. |
| Methods | RenderRuntime.OnCompleteOutput | Submits output and closes output-specific temporary resources. |
| Methods | RenderRuntime.OnPrepareOutput | Opens resources required for this frame’s output. |
| Methods | RenderRuntime.OnProduceOutput | Collects output commands without executing managed code on a native realtime callback. |
| Methods | RenderRuntime.OnStart | Attaches this feature to its owning runtime generation. |
| Methods | RenderRuntime.OnStop | Releases every runtime rendering generation, persistent target, upload, and GPU resource owned by this instance. |
| Methods | RenderRuntime.RegisterContributor | Registers frame-final work without transferring frame ownership. |
| Methods | RenderRuntime.SetPrimaryModelOutputEnabled | Enables or disables model rendering to the host’s primary backbuffer. Editor hosts disable this because their Game and Scene sessions own offscreen outputs. |
| Methods | RenderRuntime.SetPrimaryRoute | Sets the explicit model composition route for the primary output at a frame boundary. |
| Methods | RenderRuntime.Submit | Submits validated work to the active backend for ordered processing. |
| Methods | RenderRuntime.SubmitComposition | Submits one or more independently rendered model layers for premultiplied-alpha output composition. |
| Methods | RenderRuntime.TryActivateDefaultPipeline | Validates and selects a project default while preserving its last-good generation. |
| Methods | RenderRuntime.UnregisterContributor | Stops invoking a previously registered frame-final contributor. |
| Properties | RenderRuntime.currentFrameIndex | Gets the monotonic index of the current or most recently completed output frame. |
| Properties | RenderRuntime.deviceGeneration | Gets the non-zero rendering-device generation that owns persistent handles. |
| Properties | RenderRuntime.resources | Gets backend-neutral persistent resource resolution for host-owned previews and rendering integrations. |
| Properties | RenderRuntime.resourceStatistics | Gets a detached control-thread snapshot of resource occupancy, high-water marks and rejected admissions. |
| Properties | RenderRuntime.targets | Gets persistent offscreen target services for viewport presentation. |
| Properties | RenderRuntime.viewContent | Gets the generation-scoped collector used by rendering models for world content. |