Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates an immutable stage input binding.

API: engine
Project: Inno.Rendering.Shaders

public Inno.Rendering.Shaders.ShaderIrStageInput.ShaderIrStageInput(string id, Inno.Rendering.Shaders.ShaderSourceType type, Inno.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.