|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
#include <wowlib/formats/blp/blp.hpp>
Public Member Functions | |
| bool | operator== (const EncodeSettings &) const =default |
Public Attributes | |
| ColorEncoding | encoding = ColorEncoding::Dxt |
| The payload encoding to produce (Palettized, Dxt or Bgra; Jpeg is not supported). | |
| PixelFormat | format = PixelFormat::Unspecified |
| The DXT block format for Dxt encoding (Dxt1, Dxt3, Dxt5 or Bc5). | |
| std::uint8_t | alphaDepth = 8 |
| Alpha bits per pixel: 0, 1, 4 or 8. | |
| bool | mipmaps = true |
| Whether to generate the full mip chain down to 1x1 (box-filtered). | |
|
default |
| std::uint8_t wowlib::formats::blp::EncodeSettings::alphaDepth = 8 |
Alpha bits per pixel: 0, 1, 4 or 8.
Selects the alpha plane depth for Palettized files and the block format for Dxt when format is Unspecified.
Definition at line 150 of file blp.hpp.
Referenced by wowlib::formats::blp::BLP::encode().
| ColorEncoding wowlib::formats::blp::EncodeSettings::encoding = ColorEncoding::Dxt |
The payload encoding to produce (Palettized, Dxt or Bgra; Jpeg is not supported).
Definition at line 144 of file blp.hpp.
Referenced by wowlib::formats::blp::BLP::encode().
| PixelFormat wowlib::formats::blp::EncodeSettings::format = PixelFormat::Unspecified |
The DXT block format for Dxt encoding (Dxt1, Dxt3, Dxt5 or Bc5).
Unspecified picks from alphaDepth: 0/1 -> Dxt1, 4 -> Dxt3, 8 -> Dxt5. Ignored for Palettized/Bgra.
Definition at line 147 of file blp.hpp.
Referenced by wowlib::formats::blp::BLP::encode().
| bool wowlib::formats::blp::EncodeSettings::mipmaps = true |
Whether to generate the full mip chain down to 1x1 (box-filtered).
Off: the file holds only level 0.
Definition at line 153 of file blp.hpp.
Referenced by wowlib::formats::blp::BLP::encode().