LiteFX::Math::Matrix::operator DirectX::XMMATRIX¶
Converts the matrix into a DirectX matrix.
Synopsis¶
Declared in <litefx/matrix.hpp>
constexpr operator DirectX::XMMATRIX() const noexcept
requires ((mat_rows == 3 || mat_rows == 4) && (mat_cols == 3 || mat_cols == 4) && std::convertible_to<scalar_type, float>);
Return Value¶
The DirectX matrix instance.