cesium-native  0.41.0
CesiumGltf::FeatureIdFromAccessor Struct Reference

#include <CesiumGltf/AccessorUtility.h>

Public Member Functions

int64_t operator() (const AccessorView< float > &value)
 
template<typename T >
int64_t operator() (const AccessorView< T > &value)
 

Public Attributes

int64_t index
 

Detailed Description

Visitor that retrieves the feature ID from the given accessor type as an int64_t. This should be initialized with the index of the vertex whose feature ID is being queried.

-1 is used to indicate errors retrieving the feature ID, e.g., if the given index was out-of-bounds.

Definition at line 106 of file AccessorUtility.h.


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