A comparison function for common types within the visual shader graph.
Compares [code]a[/code] and [code]b[/code] of [member type] by [member function]. Returns a boolean scalar. Translates to [code]if[/code] instruction in shader code.
Extra condition which is applied if [member type] is set to [constant CTYPE_VECTOR].
A comparison function. See [enum Function] for options.
The type to be used in the comparison. See [enum ComparisonType] for options.
A floating-point scalar.
An integer scalar.
A 3D vector type.
A boolean type.
A transform ([code]mat4[/code]) type.
Represents the size of the [enum ComparisonType] enum.
Comparison for equality ([code]a == b[/code]).
Comparison for inequality ([code]a != b[/code]).
Comparison for greater than ([code]a > b[/code]). Cannot be used if [member type] set to [constant CTYPE_BOOLEAN] or [constant CTYPE_TRANSFORM].
Comparison for greater than or equal ([code]a >= b[/code]). Cannot be used if [member type] set to [constant CTYPE_BOOLEAN] or [constant CTYPE_TRANSFORM].
Comparison for less than ([code]a < b[/code]). Cannot be used if [member type] set to [constant CTYPE_BOOLEAN] or [constant CTYPE_TRANSFORM].
Comparison for less than or equal ([code]a <= b[/code]). Cannot be used if [member type] set to [constant CTYPE_BOOLEAN] or [constant CTYPE_TRANSFORM].
Represents the size of the [enum Function] enum.
The result will be true if all of component in vector satisfy the comparison condition.
The result will be true if any of component in vector satisfy the comparison condition.
Represents the size of the [enum Condition] enum.