| Operator |
Description |
| float2 | Implicitly converts a single float value to a float2 vector by assigning it to every component. |
| float2 | Explicitly converts a single bool value to a float2 vector by converting it to float and assigning it to every component. |
| float2 | Explicitly converts a bool2 vector to a float2 vector by componentwise conversion. |
| float2 | Implicitly converts a single int value to a float2 vector by converting it to float and assigning it to every component. |
| float2 | Implicitly converts a int2 vector to a float2 vector by componentwise conversion. |
| float2 | Implicitly converts a single uint value to a float2 vector by converting it to float and assigning it to every component. |
| float2 | Implicitly converts a uint2 vector to a float2 vector by componentwise conversion. |
| float2 | Implicitly converts a single half value to a float2 vector by converting it to float and assigning it to every component. |
| float2 | Implicitly converts a half2 vector to a float2 vector by componentwise conversion. |
| float2 | Explicitly converts a single double value to a float2 vector by converting it to float and assigning it to every component. |
| float2 | Explicitly converts a double2 vector to a float2 vector by componentwise conversion. |
| operator - | Returns the result of a componentwise subtraction operation on two float2 vectors. |
| operator -- | Returns the result of a componentwise decrement operation on a float2 vector. |
| operator != | Returns the result of a componentwise not equal operation on two float2 vectors. |
| operator * | Returns the result of a componentwise multiplication operation on two float2 vectors. |
| operator / | Returns the result of a componentwise division operation on two float2 vectors. |
| operator % | Returns the result of a componentwise modulus operation on two float2 vectors. |
| operator + | Returns the result of a componentwise addition operation on two float2 vectors. |
| operator + | Returns the result of a componentwise unary plus operation on a float2 vector. |
| operator ++ | Returns the result of a componentwise increment operation on a float2 vector. |
| operator < | Returns the result of a componentwise less than operation on two float2 vectors. |
| operator <= | Returns the result of a componentwise less or equal operation on two float2 vectors. |
| operator == | Returns the result of a componentwise equality operation on two float2 vectors. |
| operator > | Returns the result of a componentwise greater than operation on two float2 vectors. |
| operator >= | Returns the result of a componentwise greater or equal operation on two float2 vectors. |