cesium-native  0.41.0
BufferSpec.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 #include <string>
12 
13 namespace Cesium3DTiles {
18 struct CESIUM3DTILES_API BufferSpec : public CesiumUtility::ExtensibleObject {
19  static inline constexpr const char* TypeName = "Buffer";
20 
28  std::optional<std::string> uri;
29 
33  int64_t byteLength = int64_t();
34 
38  std::optional<std::string> name;
39 
40 private:
44  BufferSpec() = default;
45  friend struct Buffer;
46 };
47 } // namespace Cesium3DTiles
Classes for using 3D Tiles.
Definition: Buffer.h:7
A buffer is a binary blob. It is either the binary chunk of the subtree file, or an external buffer r...
Definition: BufferSpec.h:18
std::optional< std::string > name
The name of the buffer.
Definition: BufferSpec.h:38
std::optional< std::string > uri
The URI (or IRI) of the file that contains the binary buffer data. Relative paths are relative to the...
Definition: BufferSpec.h:28
A buffer is a binary blob. It is either the binary chunk of the subtree file, or an external buffer r...
Definition: Buffer.h:9
The base class for objects that have extensions and extras.