Synced
ShaderIrBuilder.Input
Section titled “ShaderIrBuilder.Input”
- Reads a named input from the enclosing typed function or stage interface.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderIrValue Inno.Rendering.Shaders.ShaderIrBuilder.Input(string name, Inno.Rendering.Shaders.ShaderSourceType type)Parameters
Section titled “Parameters”Parameter name: Stable interface identity; it is not emitted as native source verbatim.
Parameter type: Complete non-void input type.
Returns
Section titled “Returns”The shared input value for this name and type.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The name is empty, type is void, or this input was already declared with another type.