Synced
ShaderSourceField.Constructor
Section titled “ShaderSourceField.Constructor”
- Creates a structure field.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Rendering.Shaders.ShaderSourceField.ShaderSourceField(string name, InnoEditor.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.