Synced
IPresentationContext.RenderFrame
Section titled “IPresentationContext.RenderFrame”
- Builds one presentation frame by invoking the host draw callback.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Adapter.Presentation
Declaration
Section titled “Declaration”void Inno.Adapter.Presentation.IPresentationContext.RenderFrame(System.Action drawFrame, System.Action? prepareFrame = null)Parameters
Section titled “Parameters”Parameter drawFrame: Callback that emits presentation commands for the current frame.
Parameter prepareFrame: Optional synchronous preparation after the owned context and display metrics are selected, before frame creation. Failure prevents drawing and no partial frame is published.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The draw callback is null.
Exception T:System.InvalidOperationException: Another frame operation is active on this context.