|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Loader for KTX2 texture files (BC6H, BC7, etc.) More...
#include <Ktx2Loader.h>
Public Member Functions | |
| Ktx2Loader ()=default | |
| Creates a stateless KTX loader. | |
| ~Ktx2Loader ()=default | |
| Destroys the loader. | |
| Textures::Ktx2TextureData | load (const std::filesystem::path &filename) |
| Loads image data and mip metadata from a KTX or KTX2 file. | |
Loader for KTX2 texture files (BC6H, BC7, etc.)
Uses libktx to load KTX2 files with pre-computed mipmaps. Supports BC6H-compressed HDR lightmaps and BC7-compressed PBR textures exported via Compressonator.
Definition at line 96 of file Ktx2Loader.h.
|
default |
Creates a stateless KTX loader.
|
default |
Destroys the loader.
| Textures::Ktx2TextureData Engine::Assets::Loaders::Ktx2Loader::load | ( | const std::filesystem::path & | filename | ) |
Loads image data and mip metadata from a KTX or KTX2 file.
| filename | Path to the texture file. |