cesium-native  0.41.0
ExtensionExtInstanceFeaturesFeatureId.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "CesiumGltf/Library.h"
6 
7 #include <CesiumUtility/ExtensibleObject.h>
8 
9 #include <cstdint>
10 #include <optional>
11 #include <string>
12 
13 namespace CesiumGltf {
17 struct CESIUMGLTF_API ExtensionExtInstanceFeaturesFeatureId final
19  static inline constexpr const char* TypeName =
20  "ExtensionExtInstanceFeaturesFeatureId";
21 
25  int64_t featureCount = int64_t();
26 
31  std::optional<int64_t> nullFeatureId;
32 
37  std::optional<std::string> label;
38 
45  std::optional<int64_t> attribute;
46 
51  std::optional<int64_t> propertyTable;
52 };
53 } // namespace CesiumGltf
Classes for working with glTF models.
Feature IDs stored in a GPU mesh instancing attribute.
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.