Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws a compiled draft without modifying the source Shader or its canonical runtime publication.

API: scripting
Project: Inno.Editor.Shaders.ImGui
Scope: Editor

public void InnoEditor.Shaders.ShaderPreviews.Draw(System.Guid ownerId, InnoEngine.Rendering.MaterialAsset material, InnoEditor.Rendering.EditorShaderDraftCompilationSnapshot compilation, float logicalSize)

Parameter ownerId: Persistent document identity, independent of the canonical Shader publication.

Parameter material: Detached defaults or overrides with the current Shader reference.

Parameter compilation: Isolated draft compiler result, including explicit last-good state.

Parameter logicalSize: Positive square image size in logical pixels.