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: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public void Inno.Editor.Shaders.ImGui.ShaderPreviews.Draw(System.Guid ownerId, Inno.Rendering.Assets.MaterialAsset material, Inno.Editor.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.