Synced
ShaderNodeDrawContext.Constructor
Section titled “ShaderNodeDrawContext.Constructor”
- Creates invocation-scoped access for a graph or Inspector host.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public Inno.Editor.Shaders.ImGui.ShaderNodeDrawContext.ShaderNodeDrawContext(Inno.Core.Graphs.GraphNodeRecord node, Inno.Core.Serialization.SerializationRegistry serialization, Inno.Core.Serialization.SerializationContext context, System.Action<string, Inno.Core.Graphs.GraphSerializedValue, string?> write, Inno.Editor.Rendering.IEditorPreviewService previews, Inno.Editor.Inspection.InspectionDrawContext inspection, bool readOnly)Parameters
Section titled “Parameters”Parameter node: Detached node values for this invocation.
Parameter serialization: Current owner converter registry.
Parameter context: Complete owner reference context.
Parameter write: Host callback recording changes in the shared draft history.
Parameter previews: Current generation preview service.
Parameter inspection: Shared Inspector context, including native property controls and drag/drop.
Parameter readOnly: Whether the source belongs to an immutable installation.