Synced
ShaderIrBuilder.Binary
Section titled “ShaderIrBuilder.Binary”
- Applies an explicitly typed binary arithmetic or scalar comparison operation.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Rendering.Shaders.ShaderIrValue InnoEditor.Rendering.Shaders.ShaderIrBuilder.Binary(InnoEditor.Rendering.Shaders.ShaderIrOperation operation, InnoEditor.Rendering.Shaders.ShaderIrValue left, InnoEditor.Rendering.Shaders.ShaderIrValue right)Parameters
Section titled “Parameters”Parameter operation: Add, Subtract, Multiply, Divide, Minimum, Maximum, Equal or LessThan.
Parameter left: Left operand from this builder.
Parameter right: Right operand of the same complete type.
Returns
Section titled “Returns”The result; comparisons produce a scalar Boolean.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Operands belong to another builder, differ in type, or the operation is invalid for them.