Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Reads a named input from the enclosing typed function or stage interface.

API: engine
Project: Inno.Rendering.Shaders

public Inno.Rendering.Shaders.ShaderIrValue Inno.Rendering.Shaders.ShaderIrBuilder.Input(string name, Inno.Rendering.Shaders.ShaderSourceType type)

Parameter name: Stable interface identity; it is not emitted as native source verbatim.

Parameter type: Complete non-void input type.

The shared input value for this name and type.

Exception T:System.ArgumentException: The name is empty, type is void, or this input was already declared with another type.