Synced
IEditorPreviewService.TryGetTextureArtifact
Section titled “IEditorPreviewService.TryGetTextureArtifact”
- Tries to resolve a named texture artifact 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.TryGetTextureArtifact(Inno.Rendering.Assets.RenderTextureArtifactReference texture, int pixelWidth, int pixelHeight, out Inno.Editor.Rendering.EditorPreviewHandle handle)Parameters
Section titled “Parameters”Parameter texture: Stable named texture artifact reference.
Parameter pixelWidth: Positive source width.
Parameter pixelHeight: Positive source height.
Parameter handle: Receives a generation-scoped handle when ready.
Returns
Section titled “Returns”true when the preview is ready.