Synced
ShaderSourceField.Constructor
Section titled “ShaderSourceField.Constructor”
- Creates a structure field.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderSourceField.ShaderSourceField(string name, Inno.Rendering.Shaders.ShaderSourceType type)Parameters
Section titled “Parameters”Parameter name: Stable field name.
Parameter type: Complete field type.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The field has void type or is an opaque storage binding.