|
cesium-native 0.62.0
|
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 float. | |
| static constexpr PropertyType | value = PropertyType::Scalar |
The PropertyType corresponding to a float. | |
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 290 of file PropertyTypeTraits.h.
|
staticconstexpr |
The PropertyComponentType corresponding to a float.
Definition at line 292 of file PropertyTypeTraits.h.
|
staticconstexpr |
The PropertyType corresponding to a float.
Definition at line 295 of file PropertyTypeTraits.h.