Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Exposes detached node values and one-gesture writes without exposing the live graph document.

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

public sealed class InnoEditor.Shaders.ShaderNodeDrawContext
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.