cesium-native  0.41.0
ExtensionBufferViewExtMeshoptCompression.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/Library.h"
6 
7 #include <CesiumUtility/ExtensibleObject.h>
8 
9 #include <cstdint>
10 #include <string>
11 
12 namespace CesiumGltf {
16 struct CESIUMGLTF_API ExtensionBufferViewExtMeshoptCompression final
18  static inline constexpr const char* TypeName =
19  "ExtensionBufferViewExtMeshoptCompression";
20  static inline constexpr const char* ExtensionName = "EXT_meshopt_compression";
21 
25  struct Mode {
26  inline static const std::string ATTRIBUTES = "ATTRIBUTES";
27 
28  inline static const std::string TRIANGLES = "TRIANGLES";
29 
30  inline static const std::string INDICES = "INDICES";
31  };
32 
36  struct Filter {
37  inline static const std::string NONE = "NONE";
38 
39  inline static const std::string OCTAHEDRAL = "OCTAHEDRAL";
40 
41  inline static const std::string QUATERNION = "QUATERNION";
42 
43  inline static const std::string EXPONENTIAL = "EXPONENTIAL";
44  };
45 
49  int32_t buffer = -1;
50 
54  int64_t byteOffset = 0;
55 
59  int64_t byteLength = int64_t();
60 
64  int64_t byteStride = int64_t();
65 
69  int64_t count = int64_t();
70 
77  std::string mode = Mode::ATTRIBUTES;
78 
85  std::string filter = Filter::NONE;
86 };
87 } // namespace CesiumGltf
Classes for working with glTF models.
The base class for objects that have extensions and extras.