5#include <CesiumGltf/Library.h>
6#include <CesiumGltf/NamedObject.h>
19 static constexpr const char* TypeName =
"BufferView";
27 static constexpr int32_t ARRAY_BUFFER = 34962;
30 static constexpr int32_t ELEMENT_ARRAY_BUFFER = 34963;
41 int64_t byteOffset = 0;
46 int64_t byteLength = int64_t();
Classes for working with glTF models.
Known values for The hint representing the intended GPU buffer type to use with this buffer view.
A view into a buffer generally representing a subset of the buffer.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::optional< int64_t > byteStride
The stride, in bytes.
std::optional< int32_t > target
The hint representing the intended GPU buffer type to use with this buffer view.
The base class for objects in a glTF that have a name.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...