Luna::Vec4U
A generalized version of 4D vector. This vector type does not have specific alignment requirement.
template <typename _Ty>
struct Luna::Vec4U
Parameters
in] _Ty The element type of the vector.
Member objects
-
The fist component of the vector.
-
The second component of the vector.
-
The third component of the vector.
-
The fourth component of the vector.
-
The array of components.
Member functions
-
Constructs one vector with components uninitialized.
-
Constructs one vector by coping components from another vector.
-
Vec4U & operator=(const Vec4U &)=default
Assigns one vector by coping components from another vector.
-
Constructs one vector by coping components from another vector.
-
Vec4U & operator=(Vec4U &&)=default
Assigns one vector by coping components from another vector.
-
Constructs one vector from one Float4 vector.
-
Vec4U & operator=(const Float4 &rhs)
Assigns one vector from one Float4 vector.
-
Converts this vector to Float4.
-
Constructs one vector from one scalar.
-
constexpr Vec4U(_Ty _x, _Ty _y, _Ty _z, _Ty _w)
Constructs one vector from values.
-
bool operator==(const Vec4U &rhs) const
Compares two vectors for equality.
-
bool operator!=(const Vec4U &rhs) const
Compares two vectors for non-equality.