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 "CesiumGltf/Library.h"
6 #include "CesiumGltf/NamedObject.h"
7 
8 #include <cstdint>
9 #include <optional>
10 #include <string>
11 
12 namespace CesiumGltf {
16 struct CESIUMGLTF_API BufferSpec : public CesiumGltf::NamedObject {
17  static inline constexpr const char* TypeName = "Buffer";
18 
25  std::optional<std::string> uri;
26 
30  int64_t byteLength = int64_t();
31 
32 private:
36  BufferSpec() = default;
37  friend struct Buffer;
38 };
39 } // namespace CesiumGltf
Classes for working with glTF models.
A buffer points to binary geometry, animation, or skins.
Definition: BufferSpec.h:16
std::optional< std::string > uri
The URI (or IRI) of the buffer.
Definition: BufferSpec.h:25
A buffer points to binary geometry, animation, or skins.
Definition: Buffer.h:9
The base class for objects in a glTF that have a name.
Definition: NamedObject.h:15