Synced
ShaderGraphLiteral.Zero
Section titled “ShaderGraphLiteral.Zero”
- Creates an explicit zero value for a supported scalar, vector, matrix, structure or array.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public static InnoEditor.Rendering.Shaders.ShaderGraphLiteral InnoEditor.Rendering.Shaders.ShaderGraphLiteral.Zero(InnoEditor.Rendering.Shaders.ShaderSourceType type)Parameters
Section titled “Parameters”Parameter type: Complete numeric or boolean value type; resources and effect tokens are not values.
Returns
Section titled “Returns”A detached zero literal with an exact type and component count.
Exceptions
Section titled “Exceptions”Exception T:System.NotSupportedException: The type is opaque or exceeds the bounded literal size.