SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
vtfpp Namespace Reference

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")
 

Enumeration Type Documentation

◆ CompressionMethod

enum class vtfpp::CompressionMethod : int16_t
strong
Enumerator
DEFLATE 
ZSTD 
CONSOLE_LZMA 

Definition at line 24 of file VTF.h.

◆ ImageFormat

enum class vtfpp::ImageFormat : int32_t
strong
Enumerator
RGBA8888 
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 
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 
BC7 
BC6H 

Definition at line 7 of file ImageFormats.h.

Variable Documentation

◆ TTH_SIGNATURE

constexpr uint32_t vtfpp::TTH_SIGNATURE = sourcepp::parser::binary::makeFourCC("TTH\0")
constexpr

Definition at line 9 of file TTX.h.

◆ VTF3_SIGNATURE

constexpr uint32_t vtfpp::VTF3_SIGNATURE = sourcepp::parser::binary::makeFourCC("VTF3")
constexpr

Definition at line 22 of file VTF.h.

◆ VTF_SIGNATURE

constexpr uint32_t vtfpp::VTF_SIGNATURE = sourcepp::parser::binary::makeFourCC("VTF\0")
constexpr

Definition at line 20 of file VTF.h.

◆ VTFX_SIGNATURE

constexpr uint32_t vtfpp::VTFX_SIGNATURE = sourcepp::parser::binary::makeFourCC("VTFX")
constexpr

Definition at line 21 of file VTF.h.