Synced
ShaderIrStageInput.Constructor
Section titled “ShaderIrStageInput.Constructor”
- Creates an immutable stage input binding.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderIrStageInput.ShaderIrStageInput(string id, Inno.Rendering.Shaders.ShaderSourceType type, Inno.Rendering.Shaders.ShaderIrInputKind kind, string semantic = "", int location = 0)Parameters
Section titled “Parameters”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.