Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced

IEditorPreviewService.TryGetTextureArtifact

Section titled “IEditorPreviewService.TryGetTextureArtifact”
  • Tries to resolve a named texture artifact preview without blocking target compilation.

API: scripting
Project: Inno.Editor.Rendering
Scope: Editor

bool InnoEditor.Rendering.IEditorPreviewService.TryGetTextureArtifact(InnoEngine.Rendering.RenderTextureArtifactReference texture, int pixelWidth, int pixelHeight, out InnoEditor.Rendering.EditorPreviewHandle handle)

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.

true when the preview is ready.