Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Creates an immutable stage input binding.

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

public InnoEditor.Rendering.Shaders.ShaderIrStageInput.ShaderIrStageInput(string id, InnoEditor.Rendering.Shaders.ShaderSourceType type, InnoEditor.Rendering.Shaders.ShaderIrInputKind kind, string semantic = "", int location = 0)

Parameter id: Stable binding identity, also used by the block’s named Input instruction.

Parameter type: Complete non-void type.

Parameter kind: Source of the GPU value.

Parameter semantic: Target semantic, such as position, texcoord, color, instance-data or fragment-coordinate.

Parameter location: Attribute/semantic index or assigned texture slot, never a native handle.