Synced
ShaderNodeDrawerAttribute
Section titled “ShaderNodeDrawerAttribute”
- Registers Editor-only node controls independently from a node’s shader compiler.
Required contracts
Section titled “Required contracts”API: engine
Inherits: System.Attribute
Project: Inno.Editor.Shaders.ImGui
Declaration
Section titled “Declaration”public sealed class Inno.Editor.Shaders.ImGui.ShaderNodeDrawerAttribute : System.AttributeMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ShaderNodeDrawerAttribute.Constructor | Associates the drawer with one stable node definition. |
| Properties | ShaderNodeDrawerAttribute.createOrder | Gets the creation-menu order. |
| Properties | ShaderNodeDrawerAttribute.createPath | Gets the optional creation-menu path below Create. |
| Properties | ShaderNodeDrawerAttribute.definitionId | Gets the stable node identity handled by this drawer. |
| Properties | ShaderNodeDrawerAttribute.displayName | Gets the optional presentation-only name; it does not participate in Shader compilation or identity. |
| Properties | ShaderNodeDrawerAttribute.separatorBefore | Gets whether the contributed creation group starts a new visual section. |