cesium-native 0.61.0
Loading...
Searching...
No Matches
ConditionalContent.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <Cesium3DTiles/ConditionalContentItem.h>
6#include <Cesium3DTiles/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <vector>
10
11namespace Cesium3DTiles {
16struct CESIUM3DTILES_API ConditionalContent final
21 static constexpr const char* TypeName = "ConditionalContent";
22
27 std::vector<Cesium3DTiles::ConditionalContentItem> conditionalContents;
28
35 int64_t getSizeBytes() const {
36 int64_t accum = 0;
37 accum += int64_t(sizeof(ConditionalContent));
39 int64_t(sizeof(CesiumUtility::ExtensibleObject));
40 accum += int64_t(
42 this->conditionalContents.capacity());
44 this->conditionalContents) {
45 accum += value.getSizeBytes() -
47 }
48 return accum;
49 }
50};
51} // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition Buffer.h:7
Defines the structure of a single content item in 3DTILES_content_conditional.
Defines the structure of 3D Tiles content for the 3DTILES_content_conditional extension.
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,...
std::vector< Cesium3DTiles::ConditionalContentItem > conditionalContents
The array of content objects that have additional conditions associated with them,...
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 ...