cesium-native 0.43.0
Loading...
Searching...
No Matches
ExtensionModelMaxarMeshVariants.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/ExtensionModelMaxarMeshVariantsValue.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <cstdint>
10#include <vector>
11
12namespace CesiumGltf {
16struct CESIUMGLTF_API ExtensionModelMaxarMeshVariants final
21 static constexpr const char* TypeName = "ExtensionModelMaxarMeshVariants";
24 static constexpr const char* ExtensionName = "MAXAR_mesh_variants";
25
31 int32_t defaultProperty = -1;
32
36 std::vector<CesiumGltf::ExtensionModelMaxarMeshVariantsValue> variants;
37
44 int64_t getSizeBytes() const {
45 int64_t accum = 0;
46 accum += int64_t(sizeof(ExtensionModelMaxarMeshVariants));
48 int64_t(sizeof(CesiumUtility::ExtensibleObject));
49 accum += int64_t(
51 this->variants.capacity());
53 this->variants) {
54 accum +=
55 value.getSizeBytes() -
57 }
58 return accum;
59 }
60};
61} // namespace CesiumGltf
Classes for working with glTF models.
glTF extension that defines mesh variants for nodes
std::vector< CesiumGltf::ExtensionModelMaxarMeshVariantsValue > variants
variants
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 ...