cesium-native 0.43.0
|
A view on a bool array element of a PropertyTableProperty
or PropertyTextureProperty
.
More...
#include <CesiumGltf/PropertyArrayView.h>
Public Member Functions | |
PropertyArrayView () | |
Constructs an empty array view. | |
PropertyArrayView (const std::span< const std::byte > &buffer, int64_t bitOffset, int64_t size) noexcept | |
Constructs an array view from a buffer. | |
bool | operator[] (int64_t index) const noexcept |
Obtains the element in the array at the given index. | |
int64_t | size () const noexcept |
The number of entries in the array. | |
A view on a bool 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 176 of file PropertyArrayView.h.
|
inline |
Constructs an empty array view.
Definition at line 181 of file PropertyArrayView.h.
|
inlinenoexcept |
Constructs an array view from a buffer.
buffer | The buffer containing the values. |
bitOffset | The offset into the buffer where the values actually begin. |
size | The number of values in the array. |
Definition at line 191 of file PropertyArrayView.h.
|
inlinenoexcept |
Obtains the element in the array at the given index.
Definition at line 200 of file PropertyArrayView.h.
|
inlinenoexcept |
The number of entries in the array.
Definition at line 211 of file PropertyArrayView.h.