Synced
ShaderNodeDrawerAttribute.Constructor
Section titled “ShaderNodeDrawerAttribute.Constructor”
- Associates the drawer with one stable node definition.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public Inno.Editor.Shaders.ImGui.ShaderNodeDrawerAttribute.ShaderNodeDrawerAttribute(string definitionId, string displayName = "", string createPath = "", int createOrder = 0, bool separatorBefore = false)Parameters
Section titled “Parameters”Parameter definitionId: The compiler-independent graph node identity.
Parameter displayName: Optional artist-facing name used in node headers and creation menus.
Parameter createPath: Optional slash-delimited path below Create. Empty uses the host’s built-in classification.
Parameter createOrder: Stable ordering value among sibling creation groups and nodes.
Parameter separatorBefore: Whether the contributed creation group is preceded by a separator at its own level.