cesium-native 0.61.0
Loading...
Searching...
No Matches
CesiumGltf::MaxIndexValueFromAccessor Struct Reference

Returns the maximum possible index value for the given IndexAccessorType. More...

#include <CesiumGltf/AccessorUtility.h>

Public Member Functions

int64_t operator() (std::monostate)
 Attempts to obtain a maximum index value from an empty IndexAccessorType, resulting in -1.
 
template<typename T>
int64_t operator() (const AccessorView< T > &)
 Attempts to obtain a maximum index value from an AccessorView.
 

Detailed Description

Returns the maximum possible index value for the given IndexAccessorType.

Definition at line 185 of file AccessorUtility.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T>
int64_t CesiumGltf::MaxIndexValueFromAccessor::operator() ( const AccessorView< T > & )
inline

Attempts to obtain a maximum index value from an AccessorView.

Definition at line 195 of file AccessorUtility.h.

◆ operator()() [2/2]

int64_t CesiumGltf::MaxIndexValueFromAccessor::operator() ( std::monostate )
inline

Attempts to obtain a maximum index value from an empty IndexAccessorType, resulting in -1.

Definition at line 190 of file AccessorUtility.h.


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