5#include <CesiumGltf/Library.h>
6#include <CesiumUtility/ExtensibleObject.h>
21 static constexpr const char* TypeName =
22 "ExtensionExtInstanceFeaturesFeatureId";
27 int64_t featureCount = int64_t();
39 std::optional<std::string>
label;
67 accum += int64_t(this->label->capacity() *
sizeof(
char));
Classes for working with glTF models.
Feature IDs stored in a GPU mesh instancing attribute.
int64_t getSizeBytes() const
Calculates the size in bytes of this object, including the contents of all collections,...
std::optional< std::string > label
A label assigned to this feature ID set. Labels must be alphanumeric identifiers matching the regular...
std::optional< int64_t > attribute
An integer value used to construct a string in the format _FEATURE_ID_<set index> which is a referenc...
std::optional< int64_t > nullFeatureId
A value that indicates that no feature is associated with this instance.
std::optional< int64_t > propertyTable
The index of the property table containing per-feature property values. Only applicable when using th...
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 ...