Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Applies an explicitly typed binary arithmetic or scalar comparison operation.

API: engine
Project: Inno.Rendering.Shaders

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)

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.

The result; comparisons produce a scalar Boolean.

Exception T:System.ArgumentException: Operands belong to another builder, differ in type, or the operation is invalid for them.