cesium-native 0.48.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.
static constexpr const char * TypeName
The original name of this type.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
bool fallback
Set to true to indicate that the buffer is only referenced by bufferViews that have EXT_meshopt_compr...
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 ...