MeshLib Documentation
Loading...
Searching...
No Matches
MR::VectorTraits< ImVec4 > Struct Reference

#include <MRVectorTraits.h>

Public Types

using BaseType = float
 
template<std::same_as< float > >
using ChangeBaseType = ImVec4
 

Static Public Member Functions

template<typename U >
static auto && getElem (int i, U &&value)
 
template<typename U = ImVec4>
static constexpr U diagonal (float v)
 

Static Public Attributes

static constexpr int size = 4
 

Member Typedef Documentation

◆ BaseType

using MR::VectorTraits< ImVec4 >::BaseType = float

◆ ChangeBaseType

template<std::same_as< float > >
using MR::VectorTraits< ImVec4 >::ChangeBaseType = ImVec4

Member Function Documentation

◆ diagonal()

template<typename U = ImVec4>
static constexpr U MR::VectorTraits< ImVec4 >::diagonal ( float v)
inlinestaticconstexpr

◆ getElem()

template<typename U >
static auto && MR::VectorTraits< ImVec4 >::getElem ( int i,
U && value )
inlinestaticnodiscard

Member Data Documentation

◆ size

int MR::VectorTraits< ImVec4 >::size = 4
staticconstexpr

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