A selector function for use within the visual shader graph.
Returns an associated value of the op_type type if the provided boolean value is true or false.
OP_TYPE_FLOAT = 0A floating-point scalar.
OP_TYPE_INT = 1An integer scalar.
OP_TYPE_UINT = 2An unsigned integer scalar.
OP_TYPE_VECTOR_2D = 3A 2D vector type.
OP_TYPE_VECTOR_3D = 4A 3D vector type.
OP_TYPE_VECTOR_4D = 5A 4D vector type.
OP_TYPE_BOOLEAN = 6A boolean type.
OP_TYPE_TRANSFORM = 7A transform type.
OP_TYPE_MAX = 8Represents the size of the OpType enum.