cesium-native 0.62.0
Loading...
Searching...
No Matches
CesiumGltf::TypeToPropertyType< bool > Struct 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 bool.
 
static constexpr PropertyType value = PropertyType::Boolean
 The PropertyType corresponding to a bool.
 

Detailed Description

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 383 of file PropertyTypeTraits.h.

Member Data Documentation

◆ component

PropertyComponentType CesiumGltf::TypeToPropertyType< bool >::component
staticconstexpr
Initial value:

The PropertyComponentType corresponding to a bool.

Definition at line 385 of file PropertyTypeTraits.h.

◆ value

The PropertyType corresponding to a bool.

Definition at line 388 of file PropertyTypeTraits.h.


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