cesium-native 0.43.0
Loading...
Searching...
No Matches
ExtensionExtInstanceFeatures.h
1// This file was generated by generate-classes.
2// DO NOT EDIT THIS FILE!
3#pragma once
4
5#include <CesiumGltf/ExtensionExtInstanceFeaturesFeatureId.h>
6#include <CesiumGltf/Library.h>
7#include <CesiumUtility/ExtensibleObject.h>
8
9#include <vector>
10
11namespace CesiumGltf {
15struct CESIUMGLTF_API ExtensionExtInstanceFeatures final
20 static constexpr const char* TypeName = "ExtensionExtInstanceFeatures";
23 static constexpr const char* ExtensionName = "EXT_instance_features";
24
28 std::vector<CesiumGltf::ExtensionExtInstanceFeaturesFeatureId> featureIds;
29
36 int64_t getSizeBytes() const {
37 int64_t accum = 0;
38 accum += int64_t(sizeof(ExtensionExtInstanceFeatures));
40 int64_t(sizeof(CesiumUtility::ExtensibleObject));
41 accum += int64_t(
43 this->featureIds.capacity());
45 this->featureIds) {
46 accum +=
47 value.getSizeBytes() -
49 }
50 return accum;
51 }
52};
53} // namespace CesiumGltf
Classes for working with glTF models.
Feature IDs stored in a GPU mesh instancing attribute.
An object describing per-instance feature IDs.
std::vector< CesiumGltf::ExtensionExtInstanceFeaturesFeatureId > featureIds
An array of feature ID sets.
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 ...