Synced
ShaderPreviews.Draw
Section titled “ShaderPreviews.Draw”
- Draws a compiled draft without modifying the source Shader or its canonical runtime publication.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Shaders.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Shaders.ShaderPreviews.Draw(System.Guid ownerId, InnoEngine.Rendering.MaterialAsset material, InnoEditor.Rendering.EditorShaderDraftCompilationSnapshot compilation, float logicalSize)Parameters
Section titled “Parameters”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.