5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
21 "ExtensionBufferViewExtMeshoptCompression";
31 inline static const std::string
ATTRIBUTES =
"ATTRIBUTES";
34 inline static const std::string
TRIANGLES =
"TRIANGLES";
37 inline static const std::string
INDICES =
"INDICES";
45 inline static const std::string
NONE =
"NONE";
48 inline static const std::string
OCTAHEDRAL =
"OCTAHEDRAL";
51 inline static const std::string
QUATERNION =
"QUATERNION";
Classes for working with glTF models.
Known values for The compression filter.
static const std::string EXPONENTIAL
EXPONENTIAL
static const std::string OCTAHEDRAL
OCTAHEDRAL
static const std::string NONE
NONE
static const std::string QUATERNION
QUATERNION
Known values for The compression mode.
static const std::string TRIANGLES
TRIANGLES
static const std::string INDICES
INDICES
static const std::string ATTRIBUTES
ATTRIBUTES
Compressed data for bufferView.
static constexpr const char * TypeName
The original name of this type.
std::string filter
The compression filter.
int64_t byteLength
The length of the compressed data in bytes.
std::string mode
The compression mode.
int32_t buffer
The index of the buffer with compressed data.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
int64_t byteOffset
The offset into the buffer in bytes.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
int64_t count
The number of elements.
int64_t byteStride
The stride, in bytes.
The base class for objects that have extensions and extras.
int64_t getSizeBytes() const
Calculates the size in bytes of this ExtensibleObject, including all of its extras but NOT including ...