cesium-native 0.66.0
Loading...
Searching...
No Matches
ExtensionKhrImplicitShapes.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/ExtensionKhrImplicitShapesShape.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <vector>
10
11namespace CesiumGltf {
15struct CESIUMGLTF_API ExtensionKhrImplicitShapes final
20 static constexpr const char* TypeName = "ExtensionKhrImplicitShapes";
23 static constexpr const char* ExtensionName = "KHR_implicit_shapes";
24
28 std::vector<CesiumGltf::ExtensionKhrImplicitShapesShape> shapes;
29
36 int64_t getSizeBytes() const {
37 int64_t accum = 0;
38 accum += int64_t(sizeof(ExtensionKhrImplicitShapes));
40 int64_t(sizeof(CesiumUtility::ExtensibleObject));
41 accum += int64_t(
43 this->shapes.capacity());
45 this->shapes) {
46 accum += value.getSizeBytes() -
48 }
49 return accum;
50 }
51};
52} // namespace CesiumGltf
Classes for working with glTF models.
std::vector< CesiumGltf::ExtensionKhrImplicitShapesShape > shapes
An array of shape descriptions.
static constexpr const char * ExtensionName
The official name of the extension. This should be the same as its key in the extensions object.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
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 ...