Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Declares a typed shader port independently of editor presentation and backend source syntax.

API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor

public InnoEditor.Rendering.Shaders.ShaderNodePort.ShaderNodePort(string id, InnoEditor.Rendering.Shaders.ShaderSourceType type, InnoEngine.Graphs.GraphPortDirection direction, bool required = true)

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.