cesium-native 0.61.0
Loading...
Searching...
No Matches
Extension3dTilesContentConditional.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <Cesium3DTiles/Extension3dTilesContentConditionalDimensionsValue.h>
6#include <Cesium3DTiles/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <vector>
10
11namespace Cesium3DTiles {
17struct CESIUM3DTILES_API Extension3dTilesContentConditional final
22 static constexpr const char* TypeName = "Extension3dTilesContentConditional";
25 static constexpr const char* ExtensionName = "3DTILES_content_conditional";
26
31 std::vector<Cesium3DTiles::Extension3dTilesContentConditionalDimensionsValue>
33
40 int64_t getSizeBytes() const {
41 int64_t accum = 0;
42 accum += int64_t(sizeof(Extension3dTilesContentConditional));
44 int64_t(sizeof(CesiumUtility::ExtensibleObject));
45 accum += int64_t(
46 sizeof(
48 this->dimensions.capacity());
50 value : this->dimensions) {
51 accum += value.getSizeBytes() -
52 int64_t(sizeof(
55 }
56 return accum;
57 }
58};
59} // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition Buffer.h:7
Defines the structure of the extension object that is stored as the 3DTILES_content_conditional exten...
std::vector< Cesium3DTiles::Extension3dTilesContentConditionalDimensionsValue > dimensions
The dimensions of the conditions, each consisting of the name and domain of the respective property.
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.
static constexpr const char * TypeName
The original name of this type.
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 ...