Image data used to create a texture.
More...
Inherits glTF::Object.
|
static const char * | TranslateId (Asset &, const char *id) |
| Maps special IDs to another ID, where needed. Subclasses may override it (statically) More...
|
|
Image data used to create a texture.
◆ Image()
◆ GetData()
const uint8_t* glTF::Image::GetData |
( |
| ) |
const |
|
inline |
◆ GetDataLength()
size_t glTF::Image::GetDataLength |
( |
| ) |
const |
|
inline |
◆ HasData()
bool glTF::Image::HasData |
( |
| ) |
const |
|
inline |
◆ Read()
◆ SetData()
void glTF::Image::SetData |
( |
uint8_t * |
data, |
|
|
size_t |
length, |
|
|
Asset & |
r |
|
) |
| |
|
inline |
◆ StealData()
uint8_t * glTF::Image::StealData |
( |
| ) |
|
|
inline |
◆ bufferView
The uri of the image, that can be a file path, a data URI, etc.. (required)
◆ height
◆ mimeType
std::string glTF::Image::mimeType |
◆ uri
std::string glTF::Image::uri |
◆ width
The documentation for this struct was generated from the following files: