Kanzi 4.0.0-beta2
kanzi::gfx::Vector< T, TSize > Struct Template Reference

#include <kanzi/gfx/core/math_types.hpp>

Inheritance diagram for kanzi::gfx::Vector< T, TSize >:
[legend]

Public Member Functions

template<uint32_t Tx, uint32_t Ty>
constexpr auto swizzle2 () const
 
template<uint32_t Tx, uint32_t Ty, uint32_t Tz>
constexpr auto swizzle3 () const
 
template<uint32_t Tx, uint32_t Ty, uint32_t Tz, uint32_t Tw>
constexpr auto swizzle4 () const
 
constexpr autow ()
 
constexpr autow () const
 
constexpr auto wx () const
 
constexpr auto wy () const
 
constexpr auto wz () const
 
constexpr autox ()
 
constexpr autox () const
 
constexpr auto xw () const
 
constexpr auto xy () const
 
constexpr auto xyz () const
 
constexpr auto xz () const
 
constexpr autoy ()
 
constexpr autoy () const
 
constexpr auto yw () const
 
constexpr auto yx () const
 
constexpr auto yz () const
 
constexpr autoz ()
 
constexpr autoz () const
 
constexpr auto zw () const
 
constexpr auto zx () const
 
constexpr auto zy () const
 
- Public Member Functions inherited from kanzi::gfx::ArrayType< T, TSize >
constexpr auto begin ()
 
constexpr auto begin () const
 
constexpr auto end ()
 
constexpr auto end () const
 
constexpr auto getCount () const
 
constexpr auto getData ()
 
constexpr auto getData () const
 
constexpr Toperator[] (uint32_t i)
 
constexpr const Toperator[] (uint32_t i) const
 

Additional Inherited Members

- Public Types inherited from kanzi::gfx::ArrayType< T, TSize >
using ElementType
 
- Public Attributes inherited from kanzi::gfx::ArrayType< T, TSize >
T data [TSize]
 
- Static Public Attributes inherited from kanzi::gfx::ArrayType< T, TSize >
static constexpr uint32_t Size
 

Member Function Documentation

◆ x() [1/2]

template<typename T , uint32_t TSize>
constexpr auto & kanzi::gfx::Vector< T, TSize >::x ( )
inlineconstexpr

◆ x() [2/2]

template<typename T , uint32_t TSize>
constexpr auto & kanzi::gfx::Vector< T, TSize >::x ( ) const
inlineconstexpr

◆ y() [1/2]

template<typename T , uint32_t TSize>
constexpr auto & kanzi::gfx::Vector< T, TSize >::y ( )
inlineconstexpr

◆ y() [2/2]

template<typename T , uint32_t TSize>
constexpr auto & kanzi::gfx::Vector< T, TSize >::y ( ) const
inlineconstexpr

◆ z() [1/2]

template<typename T , uint32_t TSize>
constexpr auto & kanzi::gfx::Vector< T, TSize >::z ( )
inlineconstexpr

◆ z() [2/2]

template<typename T , uint32_t TSize>
constexpr auto & kanzi::gfx::Vector< T, TSize >::z ( ) const
inlineconstexpr

◆ w() [1/2]

template<typename T , uint32_t TSize>
constexpr auto & kanzi::gfx::Vector< T, TSize >::w ( )
inlineconstexpr

◆ w() [2/2]

template<typename T , uint32_t TSize>
constexpr auto & kanzi::gfx::Vector< T, TSize >::w ( ) const
inlineconstexpr

◆ swizzle2()

template<typename T , uint32_t TSize>
template<uint32_t Tx, uint32_t Ty>
constexpr auto kanzi::gfx::Vector< T, TSize >::swizzle2 ( ) const
inlineconstexpr

◆ swizzle3()

template<typename T , uint32_t TSize>
template<uint32_t Tx, uint32_t Ty, uint32_t Tz>
constexpr auto kanzi::gfx::Vector< T, TSize >::swizzle3 ( ) const
inlineconstexpr

◆ swizzle4()

template<typename T , uint32_t TSize>
template<uint32_t Tx, uint32_t Ty, uint32_t Tz, uint32_t Tw>
constexpr auto kanzi::gfx::Vector< T, TSize >::swizzle4 ( ) const
inlineconstexpr

◆ xy()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::xy ( ) const
inlineconstexpr

◆ xz()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::xz ( ) const
inlineconstexpr

◆ xw()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::xw ( ) const
inlineconstexpr

◆ yx()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::yx ( ) const
inlineconstexpr

◆ yz()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::yz ( ) const
inlineconstexpr

◆ yw()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::yw ( ) const
inlineconstexpr

◆ zx()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::zx ( ) const
inlineconstexpr

◆ zy()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::zy ( ) const
inlineconstexpr

◆ zw()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::zw ( ) const
inlineconstexpr

◆ wx()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::wx ( ) const
inlineconstexpr

◆ wy()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::wy ( ) const
inlineconstexpr

◆ wz()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::wz ( ) const
inlineconstexpr

◆ xyz()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::Vector< T, TSize >::xyz ( ) const
inlineconstexpr

The documentation for this struct was generated from the following file: