|
Assimp
v3.1.1 (June 2014)
|
Image data used to create a texture. More...
Inherits glTF::Object.
Public Member Functions | |
| const uint8_t * | GetData () const |
| size_t | GetDataLength () const |
| bool | HasData () const |
| Image () | |
| void | Read (Value &obj, Asset &r) |
| void | SetData (uint8_t *data, size_t length, Asset &r) |
| uint8_t * | StealData () |
Public Member Functions inherited from glTF::Object | |
| virtual bool | IsSpecial () const |
| Objects marked as special are not exported (used to emulate the binary body buffer) More... | |
| virtual | ~Object () |
Public Attributes | |
| Ref< BufferView > | bufferView |
| The uri of the image, that can be a file path, a data URI, etc.. (required) More... | |
| int | height |
| std::string | mimeType |
| std::string | uri |
| int | width |
Public Attributes inherited from glTF::Object | |
| std::string | id |
| The globally unique ID used to reference this object. More... | |
| std::string | name |
| The user-defined name of this object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from glTF::Object | |
| static const char * | TranslateId (Asset &r, const char *id) |
| Maps special IDs to another ID, where needed. Subclasses may override it (statically) More... | |
Image data used to create a texture.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Ref<BufferView> glTF::Image::bufferView |
The uri of the image, that can be a file path, a data URI, etc.. (required)
| int glTF::Image::height |
| std::string glTF::Image::mimeType |
| std::string glTF::Image::uri |
| int glTF::Image::width |