cesium-native 0.43.0
Loading...
Searching...
No Matches
ExtensionNodeMaxarMeshVariants.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/ExtensionNodeMaxarMeshVariantsMappingsValue.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <vector>
10
11namespace CesiumGltf {
15struct CESIUMGLTF_API ExtensionNodeMaxarMeshVariants final
20 static constexpr const char* TypeName = "ExtensionNodeMaxarMeshVariants";
23 static constexpr const char* ExtensionName = "MAXAR_mesh_variants";
24
28 std::vector<CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue> mappings;
29
36 int64_t getSizeBytes() const {
37 int64_t accum = 0;
38 accum += int64_t(sizeof(ExtensionNodeMaxarMeshVariants));
40 int64_t(sizeof(CesiumUtility::ExtensibleObject));
41 accum += int64_t(
43 this->mappings.capacity());
45 this->mappings) {
46 accum += value.getSizeBytes() -
47 int64_t(sizeof(
49 }
50 return accum;
51 }
52};
53} // namespace CesiumGltf
Classes for working with glTF models.
std::vector< CesiumGltf::ExtensionNodeMaxarMeshVariantsMappingsValue > mappings
A list of mesh to variant mappings.
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 ...