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: engine
Project: Inno.Editor.Rendering
Declaration
Section titled “Declaration”bool Inno.Editor.Rendering.IEditorPreviewService.TryGetTexture(Inno.Rendering.Assets.TextureAsset texture, out Inno.Editor.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.