5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
20 static constexpr const char* TypeName =
21 "ExtensionBufferViewExtMeshoptCompression";
24 static constexpr const char* ExtensionName =
"EXT_meshopt_compression";
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";
54 inline static const std::string EXPONENTIAL =
"EXPONENTIAL";
65 int64_t byteOffset = 0;
70 int64_t byteLength = int64_t();
75 int64_t byteStride = int64_t();
80 int64_t count = int64_t();
88 std::string mode = Mode::ATTRIBUTES;
96 std::string filter = Filter::NONE;
Classes for working with glTF models.
@ NONE
The data is uncompressed.
Known values for The compression filter.
Known values for The compression mode.
Compressed data for bufferView.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
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 ...