|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Optional image payload extracted from tinygltf. More...
#include <GltfLoader.h>
Public Member Functions | |
| GltfTextureData ()=default | |
| Creates an empty texture payload. | |
| GltfTextureData (const tinygltf::Image &image) | |
| Stores an image payload from tinygltf. | |
| tinygltf::Image | getImage () const |
| Gets the stored tinygltf image. | |
| bool | hasTextureData () const |
| Checks whether an image payload is stored. | |
Private Attributes | |
| tinygltf::Image | image = tinygltf::Image() |
Optional image payload extracted from tinygltf.
Definition at line 172 of file GltfLoader.h.
|
default |
Creates an empty texture payload.
|
inline |
Stores an image payload from tinygltf.
| image | Image data to store. |
Definition at line 183 of file GltfLoader.h.
References image.
|
inlinenodiscard |
Gets the stored tinygltf image.
Definition at line 189 of file GltfLoader.h.
References image.
|
nodiscard |
Checks whether an image payload is stored.
|
private |
Definition at line 201 of file GltfLoader.h.
Referenced by getImage(), and GltfTextureData().