A comparison function for common types within the visual shader graph.
Extra condition which is applied if type is set to CTYPE_VECTOR_3D.
CTYPE_SCALAR = 0A floating-point scalar.
CTYPE_SCALAR_INT = 1An integer scalar.
CTYPE_SCALAR_UINT = 2An unsigned integer scalar.
CTYPE_VECTOR_2D = 3A 2D vector type.
CTYPE_VECTOR_3D = 4A 3D vector type.
CTYPE_VECTOR_4D = 5A 4D vector type.
CTYPE_BOOLEAN = 6A boolean type.
CTYPE_TRANSFORM = 7A transform (mat4) type.
CTYPE_MAX = 8Represents the size of the ComparisonType enum.
FUNC_EQUAL = 0Comparison for equality (a == b).
FUNC_NOT_EQUAL = 1Comparison for inequality (a != b).
FUNC_GREATER_THAN = 2Comparison for greater than (a > b). Cannot be used if type set to CTYPE_BOOLEAN or CTYPE_TRANSFORM.
FUNC_GREATER_THAN_EQUAL = 3Comparison for greater than or equal (a >= b). Cannot be used if type set to CTYPE_BOOLEAN or CTYPE_TRANSFORM.
FUNC_LESS_THAN = 4Comparison for less than (a < b). Cannot be used if type set to CTYPE_BOOLEAN or CTYPE_TRANSFORM.
FUNC_LESS_THAN_EQUAL = 5Comparison for less than or equal (a <= b). Cannot be used if type set to CTYPE_BOOLEAN or CTYPE_TRANSFORM.
FUNC_MAX = 6Represents the size of the Function enum.
COND_ALL = 0The result will be true if all components in the vector satisfy the comparison condition.
COND_ANY = 1The result will be true if any component in the vector satisfies the comparison condition.
COND_MAX = 2Represents the size of the Condition enum.