Synced
ShaderNodeDrawContext
Section titled “ShaderNodeDrawContext”
- Exposes detached node values and one-gesture writes without exposing the live graph document.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Shaders.ImGui.ShaderNodeDrawContextMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ShaderNodeDrawContext.Constructor | Creates invocation-scoped access for a graph or Inspector host. |
| Methods | ShaderNodeDrawContext.DrawProperty | Draws a node property through the existing Inspector controls, including precise numbers and asset picking. |
| Methods | ShaderNodeDrawContext.Read | Reads a detached property value; missing values use the node’s declared default. |
| Methods | ShaderNodeDrawContext.Write | Records an unsaved draft edit through shared history; only an explicit document save applies it to the asset. |
| Properties | ShaderNodeDrawContext.nodeId | Gets the stable node identity for Editor widget IDs. |
| Properties | ShaderNodeDrawContext.previews | Gets the shared generation-scoped preview service for optional inline texture previews; valid only during this draw. |