MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / isPropertyComponentTypeInteger

Function isPropertyComponentTypeInteger

CesiumGltf/src/PropertyType.cpp:319–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319bool isPropertyComponentTypeInteger(PropertyComponentType componentType) {
320 return componentType == PropertyComponentType::Int8 ||
321 componentType == PropertyComponentType::Uint8 ||
322 componentType == PropertyComponentType::Int16 ||
323 componentType == PropertyComponentType::Uint16 ||
324 componentType == PropertyComponentType::Int32 ||
325 componentType == PropertyComponentType::Uint32 ||
326 componentType == PropertyComponentType::Int64 ||
327 componentType == PropertyComponentType::Uint64;
328}
329
330glm::length_t getDimensionsFromPropertyType(PropertyType type) {
331 switch (type) {

Callers 4

getPropertyViewMethod · 0.85
getPropertyViewMethod · 0.85
getPropertyViewMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected