cesium-native 0.62.0
Loading...
Searching...
No Matches
CesiumGltf::TypeToPropertyType< glm::vec< 4, T, P > > Struct Template Reference

Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...

#include <CesiumGltf/PropertyTypeTraits.h>

Static Public Attributes

static constexpr PropertyComponentType component
 The PropertyComponentType corresponding to a glm::vec<4, ...>.
 
static constexpr PropertyType value = PropertyType::Vec4
 The PropertyType corresponding to a glm::vec<4, ...>.
 

Detailed Description

template<typename T, glm::qualifier P>
struct CesiumGltf::TypeToPropertyType< glm::vec< 4, T, P > >

Infer the best-fitting PropertyType and PropertyComponentType for a C++ type.

Note that this cannot infer whether an integer is actually an PropertyType::Enum, since the enum definition is separate from the PropertyType. It is on the runtime to refer to the original class property definition, and check whether there is an associated CesiumGltf::ClassProperty::enumType.

Definition at line 334 of file PropertyTypeTraits.h.

Member Data Documentation

◆ component

template<typename T, glm::qualifier P>
PropertyComponentType CesiumGltf::TypeToPropertyType< glm::vec< 4, T, P > >::component
staticconstexpr
Initial value:
=
Infer the best-fitting PropertyType and PropertyComponentType for a C++ type.

The PropertyComponentType corresponding to a glm::vec<4, ...>.

Definition at line 337 of file PropertyTypeTraits.h.

◆ value

template<typename T, glm::qualifier P>
PropertyType CesiumGltf::TypeToPropertyType< glm::vec< 4, T, P > >::value = PropertyType::Vec4
staticconstexpr

The PropertyType corresponding to a glm::vec<4, ...>.

Definition at line 340 of file PropertyTypeTraits.h.


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