Metadata for texture assets. More...
#include <TextureSerializer.h>
Public Types | |
| enum class | FilterMode { NEAREST , LINEAR , TRILINEAR } |
| enum class | WrapMode { REPEAT , CLAMP , MIRROR } |
Public Attributes | |
| TextureType | type = TextureType::DIFFUSE |
| bool | generate_mipmaps = true |
| bool | srgb = true |
| FilterMode | filter = FilterMode::LINEAR |
| WrapMode | wrap_u = WrapMode::REPEAT |
| WrapMode | wrap_v = WrapMode::REPEAT |
| bool | compressed = false |
| std::string | compression_format |
Metadata for texture assets.
The actual pixel data is stored in standard formats (PNG, JPG)
Definition at line 16 of file TextureSerializer.h.
|
strong |
| Enumerator | |
|---|---|
| NEAREST | |
| LINEAR | |
| TRILINEAR | |
Definition at line 22 of file TextureSerializer.h.
|
strong |
| Enumerator | |
|---|---|
| REPEAT | |
| CLAMP | |
| MIRROR | |
Definition at line 26 of file TextureSerializer.h.
| bool hellfire::TextureMetadata::compressed = false |
Definition at line 31 of file TextureSerializer.h.
| std::string hellfire::TextureMetadata::compression_format |
Definition at line 32 of file TextureSerializer.h.
| FilterMode hellfire::TextureMetadata::filter = FilterMode::LINEAR |
Definition at line 23 of file TextureSerializer.h.
| bool hellfire::TextureMetadata::generate_mipmaps = true |
Definition at line 18 of file TextureSerializer.h.
| bool hellfire::TextureMetadata::srgb = true |
Definition at line 19 of file TextureSerializer.h.
| TextureType hellfire::TextureMetadata::type = TextureType::DIFFUSE |
Definition at line 17 of file TextureSerializer.h.
| WrapMode hellfire::TextureMetadata::wrap_u = WrapMode::REPEAT |
Definition at line 27 of file TextureSerializer.h.
| WrapMode hellfire::TextureMetadata::wrap_v = WrapMode::REPEAT |
Definition at line 28 of file TextureSerializer.h.