5 #include "CesiumGltf/Library.h"
6 #include "CesiumGltf/NamedObject.h"
18 static inline constexpr
const char* TypeName =
"Image";
25 inline static const std::string image_jpeg =
"image/jpeg";
27 inline static const std::string image_png =
"image/png";
37 std::optional<std::string>
uri;
52 int32_t bufferView = -1;
Classes for working with glTF models.
Known values for The image's media type. This field MUST be defined when bufferView is defined.
Image data used to create a texture. Image MAY be referenced by an URI (or IRI) or a buffer view inde...
std::optional< std::string > mimeType
The image's media type. This field MUST be defined when bufferView is defined.
std::optional< std::string > uri
The URI (or IRI) of the image.
Image data used to create a texture. Image MAY be referenced by an URI (or IRI) or a buffer view inde...
The base class for objects in a glTF that have a name.