Synced
IEditorPreviewService.TryRender
Section titled “IEditorPreviewService.TryRender”
- Submits an isolated rendering composition through the shared offscreen viewport bridge.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Rendering
Scope: Editor
Declaration
Section titled “Declaration”bool InnoEditor.Rendering.IEditorPreviewService.TryRender(InnoEditor.Rendering.EditorViewportComposition composition, out InnoEditor.Rendering.EditorPreviewHandle handle)Parameters
Section titled “Parameters”Parameter composition: Invocation-local layers; the host retains no contributor instances after the frame.
Parameter handle: Receives a current-generation preview once its target is resident.
Returns
Section titled “Returns”True when the completed previous output can be drawn; false during initial allocation or resize.