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

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

public InnoEditor.Rendering.Shaders.ShaderIrValue InnoEditor.Rendering.Shaders.ShaderIrBuilder.Input(string name, InnoEditor.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.