Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::Loaders::Ktx2Loader Class Reference

Loader for KTX2 texture files (BC6H, BC7, etc.) More...

#include <Ktx2Loader.h>

Public Member Functions

 Ktx2Loader ()=default
 ~Ktx2Loader ()=default
Textures::Ktx2TextureData load (const std::filesystem::path &filename)

Detailed Description

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 60 of file Ktx2Loader.h.

Constructor & Destructor Documentation

◆ Ktx2Loader()

Engine::Assets::Loaders::Ktx2Loader::Ktx2Loader ( )
default

◆ ~Ktx2Loader()

Engine::Assets::Loaders::Ktx2Loader::~Ktx2Loader ( )
default

Member Function Documentation

◆ load()

Textures::Ktx2TextureData Engine::Assets::Loaders::Ktx2Loader::load ( const std::filesystem::path & filename)

The documentation for this class was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Texture/Ktx2Loader.h