Inno.Editor.Shaders.ImGui
Section titled “Inno.Editor.Shaders.ImGui”
- Reusable shader-node, material and parameter inspection presentation over shared authoring services.
Reusable shader-node, material and parameter inspection presentation over shared authoring services.
Extend presentation without owning a panel
Section titled “Extend presentation without owning a panel”ShaderNodeDrawerAttribute and ShaderNodeDrawer describe node presentation using stable definition identity. ShaderNodeDrawContext supplies current node identity, neutral property access, gestures and borrowed previews. These types belong to this presentation library, not the headless Shaders module or ShaderEditor Panel.
Use DrawProperty for the common edit gesture, or the current merge key for a custom continuous input. Never retain the context, canonical asset or stale preview. Material inspectors use the shared draft service; ShaderPropertyInspector handles actual parameter types and mixed values, and ShaderPreviews displays only results supplied by the preview owner.
Respect generation boundaries
Section titled “Respect generation boundaries”Product composition explicitly deploys the assembly; registries follow the current type generation and reject invalid candidates before replacement. UI calls require the current owner-thread session/context. Stable IDs and neutral values may persist; plugin types, draw delegates and instances retire with their generation. See Shader Editor, material drafts and shared drawers.
Source boundary
Section titled “Source boundary”Source project. Declarations, script selection and runtime behavior require separate matching evidence.
API reference
Section titled “API reference”Types and exact member contracts retain the engine-owned declarations and captured XML.
Logical script references
Section titled “Logical script references”The compiler-selected script declarations are separate from this project’s host CLR surface. Read the script calling guide and the associated module contracts before using a projected member.
Source project facts
Section titled “Source project facts”Project: Inno.Editor.Shaders.ImGui
Source: src/composition/editor/presentation/Inno.Editor.Shaders.ImGui/Inno.Editor.Shaders.ImGui.csproj
| Type | API | Description |
|---|---|---|
| ShaderNodeDrawContext | engine | Exposes detached node values and one-gesture writes without exposing the live graph document. |
| ShaderNodeDrawer | engine | Provides reloadable Inspector controls; instances must not retain frame contexts or asset objects. |
| ShaderNodeDrawerAttribute | engine | Registers Editor-only node controls independently from a node’s shader compiler. |
| ShaderNodeDrawerRegistry | engine | Shares generation-scoped node presentation between graph and Inspector hosts. |
| ShaderNodePresentation | engine | Immutable authoring presentation contributed for one Shader node definition. |
| ShaderPreviews | engine | Hosts isolated Shader and Material images using domain-contributed preview pipelines. |
| ShaderPropertyInspector | engine | Uses the shared Inspector drawers for both Shader defaults and Material overrides. |
| ShaderNodeDrawContext | Editor | Exposes detached node values and one-gesture writes without exposing the live graph document. |
| ShaderNodeDrawer | Editor | Provides reloadable Inspector controls; instances must not retain frame contexts or asset objects. |
| ShaderNodeDrawerAttribute | Editor | Registers Editor-only node controls independently from a node’s shader compiler. |
| ShaderPreviews | Editor | Hosts isolated Shader and Material images using domain-contributed preview pipelines. |
| ShaderPropertyInspector | Editor | Uses the shared Inspector drawers for both Shader defaults and Material overrides. |