cesium-native 0.43.0
Loading...
Searching...
No Matches
ExtensionBufferExtMeshoptCompression.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#include <CesiumUtility/ExtensibleObject.h>
7
8namespace CesiumGltf {
12struct CESIUMGLTF_API ExtensionBufferExtMeshoptCompression final
17 static constexpr const char* TypeName =
18 "ExtensionBufferExtMeshoptCompression";
21 static constexpr const char* ExtensionName = "EXT_meshopt_compression";
22
28 bool fallback = false;
29
36 int64_t getSizeBytes() const {
37 int64_t accum = 0;
38 accum += int64_t(sizeof(ExtensionBufferExtMeshoptCompression));
40 int64_t(sizeof(CesiumUtility::ExtensibleObject));
41
42 return accum;
43 }
44};
45} // namespace CesiumGltf
Classes for working with glTF models.
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 ...