cesium-native 0.43.0
|
Visitor that retrieves the count of elements in the given accessor type as an int64_t. More...
#include <CesiumGltf/AccessorUtility.h>
Public Member Functions | |
int64_t | operator() (std::monostate) |
Attempts to obtain an element count from an empty accessor variant, resulting in 0. | |
template<typename T > | |
int64_t | operator() (const AccessorView< T > &value) |
Attempts to obtain an element count from an AccessorView. | |
Visitor that retrieves the count of elements in the given accessor type as an int64_t.
Definition at line 17 of file AccessorUtility.h.
|
inline |
Attempts to obtain an element count from an AccessorView.
Definition at line 23 of file AccessorUtility.h.
|
inline |
Attempts to obtain an element count from an empty accessor variant, resulting in 0.
Definition at line 20 of file AccessorUtility.h.