![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
Namespaces | |
namespace | ImageConversion |
namespace | ImageDimensions |
namespace | ImageFormatDetails |
namespace | ImagePixel |
Classes | |
class | PPL |
struct | Resource |
class | SHT |
class | TTX |
class | VTF |
Enumerations | |
enum class | ImageFormat : int32_t { RGBA8888 = 0 , ABGR8888 , RGB888 , BGR888 , RGB565 , I8 , IA88 , P8 , A8 , RGB888_BLUESCREEN , BGR888_BLUESCREEN , ARGB8888 , BGRA8888 , DXT1 , DXT3 , DXT5 , BGRX8888 , BGR565 , BGRX5551 , BGRA4444 , DXT1_ONE_BIT_ALPHA , BGRA5551 , UV88 , UVWQ8888 , RGBA16161616F , RGBA16161616 , UVLX8888 , R32F , RGB323232F , RGBA32323232F , RG1616F , RG3232F , RGBX8888 , EMPTY , ATI2N , ATI1N , RGBA1010102 , BGRA1010102 , R16F , CONSOLE_BGRX8888_LINEAR = 42 , CONSOLE_RGBA8888_LINEAR , CONSOLE_ABGR8888_LINEAR , CONSOLE_ARGB8888_LINEAR , CONSOLE_BGRA8888_LINEAR , CONSOLE_RGB888_LINEAR , CONSOLE_BGR888_LINEAR , CONSOLE_BGRX5551_LINEAR , CONSOLE_I8_LINEAR , CONSOLE_RGBA16161616_LINEAR , CONSOLE_BGRX8888_LE , CONSOLE_BGRA8888_LE , R8 = 69 , BC7 , BC6H } |
enum class | CompressionMethod : int16_t { DEFLATE = 8 , ZSTD = 93 , CONSOLE_LZMA = 0x360 } |
Variables | |
constexpr uint32_t | TTH_SIGNATURE = sourcepp::parser::binary::makeFourCC("TTH\0") |
constexpr uint32_t | VTF_SIGNATURE = sourcepp::parser::binary::makeFourCC("VTF\0") |
constexpr uint32_t | VTFX_SIGNATURE = sourcepp::parser::binary::makeFourCC("VTFX") |
constexpr uint32_t | VTF3_SIGNATURE = sourcepp::parser::binary::makeFourCC("VTF3") |
|
strong |
|
strong |
Definition at line 7 of file ImageFormats.h.
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |