Synced
IPresentationContext
Section titled “IPresentationContext”
- Defines the backend-neutral lifecycle used by a graphical composition host.
Required contracts
Section titled “Required contracts”API: engine
Implements: Inno.Rendering.IRenderFrameGraphContributor, System.IDisposable
Project: Inno.Adapter.Presentation
Declaration
Section titled “Declaration”public interface Inno.Adapter.Presentation.IPresentationContext : Inno.Rendering.IRenderFrameGraphContributor, System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | IPresentationContext.DrawImage | Draws a registered texture in the active presentation surface. |
| Methods | IPresentationContext.LoadLayout | Loads complete layout text captured by the host. |
| Methods | IPresentationContext.RegisterTexture | Registers a persistent render texture for presentation drawing. |
| Methods | IPresentationContext.RenderFrame | Builds one presentation frame by invoking the host draw callback. |
| Methods | IPresentationContext.SetLayoutFile | Disables or redirects backend-owned layout-file persistence. |
| Methods | IPresentationContext.TryCaptureLayout | Captures complete layout text when persistence is required. |
| Methods | IPresentationContext.TryGetWindowId | Resolves the platform window that owns a presentation viewport. |
| Methods | IPresentationContext.UnregisterTexture | Releases a presentation token without taking ownership of the source texture. |