Synced
ShaderSourceParameter.Constructor
Section titled “ShaderSourceParameter.Constructor”
- Creates a validated function parameter.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderSourceParameter.ShaderSourceParameter(string name, Inno.Rendering.Shaders.ShaderSourceType type, Inno.Rendering.Shaders.ShaderSourceParameterDirection direction)Parameters
Section titled “Parameters”Parameter name: Public parameter name, used for semantic port matching rather than ordinal matching.
Parameter type: Canonical value type.
Parameter direction: Declared value flow.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The parameter has void type.