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

API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor

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)

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.