cesium-native  0.41.0
Availability.h
1 // This file was generated by generate-classes.
2 // DO NOT EDIT THIS FILE!
3 #pragma once
4 
5 #include "Cesium3DTiles/Library.h"
6 
7 #include <CesiumUtility/ExtensibleObject.h>
8 
9 #include <cstdint>
10 #include <optional>
11 
12 namespace Cesium3DTiles {
16 struct CESIUM3DTILES_API Availability final
18  static inline constexpr const char* TypeName = "Availability";
19 
24  struct Constant {
25  static constexpr int32_t UNAVAILABLE = 0;
26 
27  static constexpr int32_t AVAILABLE = 1;
28  };
29 
36  std::optional<int64_t> bitstream;
37 
42  std::optional<int64_t> availableCount;
43 
51  std::optional<int32_t> constant;
52 };
53 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
Known values for Integer indicating whether all of the elements are available (1) or all are unavaila...
Definition: Availability.h:24
An object describing the availability of a set of elements.
Definition: Availability.h:17
std::optional< int64_t > availableCount
A number indicating how many 1 bits exist in the availability bitstream.
Definition: Availability.h:42
std::optional< int32_t > constant
Integer indicating whether all of the elements are available (1) or all are unavailable (0).
Definition: Availability.h:51
std::optional< int64_t > bitstream
Index of a buffer view that indicates whether each element is available. The bitstream conforms to th...
Definition: Availability.h:36
The base class for objects that have extensions and extras.