Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced

IEditorPreviewService.TryGetTextureArtifact

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

API: engine
Project: Inno.Editor.Rendering

bool Inno.Editor.Rendering.IEditorPreviewService.TryGetTextureArtifact(Inno.Rendering.Assets.RenderTextureArtifactReference texture, int pixelWidth, int pixelHeight, out Inno.Editor.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.