VTFParser
Simple and modern library for parsing the Valve Texture Format
Loading...
Searching...
No Matches
Public Attributes | List of all members
VtfParser::HeaderBase Struct Reference

#include <header.hpp>

Public Attributes

std::array< uint8_t, 4 > signature
 
std::array< uint32_t, 2 > version
 
uint32_t headerSize
 

Detailed Description

Base header struct.

Member Data Documentation

◆ headerSize

uint32_t VtfParser::HeaderBase::headerSize

Size of the header struct (16 byte aligned; currently 80 bytes) + size of the resources dictionary (7.3+).

◆ signature

std::array<uint8_t, 4> VtfParser::HeaderBase::signature

File signature ("VTF\0"). (or as little-endian integer, 0x00465456)

◆ version

std::array<uint32_t, 2> VtfParser::HeaderBase::version

File format version. Index zero is MAJOR and one is MINOR.


The documentation for this struct was generated from the following file: