cesium-native
0.41.0
|
A view on an array element of a PropertyTableProperty or PropertyTextureProperty. More...
#include <CesiumGltf/PropertyArrayView.h>
Public Member Functions | |
PropertyArrayView () | |
Constructs an empty array view. | |
PropertyArrayView (const gsl::span< const std::byte > &buffer) noexcept | |
Constructs an array view from a buffer. More... | |
const ElementType & | operator[] (int64_t index) const noexcept |
int64_t | size () const noexcept |
auto | begin () |
auto | end () |
auto | begin () const |
auto | end () const |
A view on an array element of a PropertyTableProperty or PropertyTextureProperty.
Provides utility to retrieve the data stored in the array of elements via the array index operator.
Definition at line 24 of file PropertyArrayView.h.
|
inlinenoexcept |
Constructs an array view from a buffer.
buffer | The buffer containing the values. |
Definition at line 36 of file PropertyArrayView.h.