cesium-native  0.41.0
CesiumGltf::IndexFromAccessor Struct Reference

#include <CesiumGltf/AccessorUtility.h>

Public Member Functions

int64_t operator() (std::monostate)
 
template<typename T >
int64_t operator() (const CesiumGltf::AccessorView< T > &value)
 

Public Attributes

int64_t index
 

Detailed Description

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 251 of file AccessorUtility.h.


The documentation for this struct was generated from the following file: