VTFParser
Simple and modern library for parsing the Valve Texture Format
|
#include <header.hpp>
Public Attributes | |
std::array< uint8_t, 3 > | tag |
uint8_t | flags |
uint32_t | data |
Aligned full header (only for alignment reasons, do not use outside of Header declaration). Metadata about a particular resource.
uint32_t VtfParser::ResourceEntryInfo::data |
The resource's data or the offset to its data in the file.
uint8_t VtfParser::ResourceEntryInfo::flags |
Resource entry flags. The only known flag is 0x2, which indicates that no data chunk corresponds to this resource.
std::array<uint8_t, 3> VtfParser::ResourceEntryInfo::tag |
A three-byte "tag" that identifies what this resource is.