Synced
ShaderNodePort.Constructor
Section titled “ShaderNodePort.Constructor”
- Declares a typed shader port independently of editor presentation and backend source syntax.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Rendering.Shaders.ShaderNodePort.ShaderNodePort(string id, InnoEditor.Rendering.Shaders.ShaderSourceType type, InnoEngine.Graphs.GraphPortDirection direction, bool required = true)Parameters
Section titled “Parameters”Parameter id: Stable node-local port identity.
Parameter type: Complete value type, including all aggregate fields.
Parameter direction: Input or output value flow.
Parameter required: Whether an input must be connected; alternative aggregate/member inputs validate in their compiler.