Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Builds one presentation frame by invoking the host draw callback.

API: engine
Project: Inno.Adapter.Presentation

void Inno.Adapter.Presentation.IPresentationContext.RenderFrame(System.Action drawFrame, System.Action? prepareFrame = null)

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.

Exception T:System.ArgumentNullException: The draw callback is null.

Exception T:System.InvalidOperationException: Another frame operation is active on this context.