cesium-native 0.46.0
|
Infer the best-fitting PropertyType and PropertyComponentType for a C++ type. More...
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 213 of file PropertyTypeTraits.h.