Synced
IEditorPreviewService.TryGetTexture
Section titled “IEditorPreviewService.TryGetTexture”
- Tries to resolve a standalone texture preview without blocking target compilation.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Rendering
Scope: Editor
Declaration
Section titled “Declaration”bool InnoEditor.Rendering.IEditorPreviewService.TryGetTexture(InnoEngine.Rendering.TextureAsset texture, out InnoEditor.Rendering.EditorPreviewHandle handle)Parameters
Section titled “Parameters”Parameter texture: Texture asset to preview.
Parameter handle: Receives a generation-scoped handle when ready.
Returns
Section titled “Returns”true when the preview is ready.