cesium-native 0.43.0
|
#include <CesiumGltf/AccessorUtility.h>
Public Member Functions | |
int64_t | operator() (std::monostate) |
Attempts to obtain a vertex index from an empty IndexAccessorType, resulting in -1. | |
template<typename T > | |
int64_t | operator() (const CesiumGltf::AccessorView< T > &value) |
Attempts to obtain a vertex index from an CesiumGltf::AccessorView. | |
Public Attributes | |
int64_t | index |
The index of the vertex index within the accessor itself. | |
Visitor that retrieves the vertex index from the given accessor type as an int64_t. This should be initialized with the index (within the accessor itself) of the vertex index.
-1 is used to indicate errors retrieving the index, e.g., if the given index was out-of-bounds.
Definition at line 273 of file AccessorUtility.h.
|
inline |
Attempts to obtain a vertex index from an CesiumGltf::AccessorView.
Definition at line 281 of file AccessorUtility.h.
|
inline |
Attempts to obtain a vertex index from an empty IndexAccessorType, resulting in -1.
Definition at line 276 of file AccessorUtility.h.
int64_t CesiumGltf::IndexFromAccessor::index |
The index of the vertex index within the accessor itself.
Definition at line 290 of file AccessorUtility.h.