Synced
ShaderIrBuilder.Binary
Section titled “ShaderIrBuilder.Binary”
- Applies an explicitly typed binary arithmetic or scalar comparison operation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public Inno.Rendering.Shaders.ShaderIrValue Inno.Rendering.Shaders.ShaderIrBuilder.Binary(Inno.Rendering.Shaders.ShaderIrOperation operation, Inno.Rendering.Shaders.ShaderIrValue left, Inno.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.