This is the header for VTF files, covering all 7.x versions up to 7.5 (current).
More...
#include "Loader_mdl_hl2_vtf.hpp"
|
uint32_t | GetVersion () const |
| Returns the file version times ten, e.g. 75 for the current version. More...
|
|
uint32_t | GetNumFaces () const |
| Returns the number of faces in the file (usually 1). More...
|
|
uint16_t | GetDepth () const |
| Returns the depth (number of z-slices) of the image in pixels. More...
|
|
uint32_t | GetNumResources () const |
|
const vtfResourceT & | GetResource (uint32_t i) const |
|
|
char | TypeString [4] |
| "VTF\0" More...
|
|
uint32_t | Version [2] |
|
uint32_t | HeaderSize |
| Size of the header struct (currently 80 bytes (+ resources(??)) More...
|
|
uint16_t | Width |
| Width at the largest MipMap level. More...
|
|
uint16_t | Height |
| Height at the largest MipMap level. More...
|
|
uint32_t | Flags |
| As defined in vtfFlagsT. More...
|
|
uint16_t | NumFrames |
| It's a small movie if NumFrames > 1. More...
|
|
uint16_t | StartFrame |
|
uint8_t | Padding0 [4] |
| for 16 byte alignment More...
|
|
float | Reflectivity [3] |
|
uint8_t | Padding1 [4] |
| for 16 byte alignment More...
|
|
float | BumpScale |
|
vtfImageFormatT | ImageFormat |
|
uint8_t | NumMipMaps |
| Number of MipMap levels (including the largest image) More...
|
|
vtfImageFormatT | LowResImageFormat |
|
uint8_t | LowResImageWidth |
|
uint8_t | LowResImageHeight |
|
This is the header for VTF files, covering all 7.x versions up to 7.5 (current).
uint16_t HL2mdl::vtfHeaderT::GetDepth |
( |
| ) |
const |
|
inline |
Returns the depth (number of z-slices) of the image in pixels.
uint32_t HL2mdl::vtfHeaderT::GetNumFaces |
( |
| ) |
const |
|
inline |
Returns the number of faces in the file (usually 1).
uint32_t HL2mdl::vtfHeaderT::GetVersion |
( |
| ) |
const |
|
inline |
Returns the file version times ten, e.g. 75 for the current version.
uint32_t HL2mdl::vtfHeaderT::Flags |
uint32_t HL2mdl::vtfHeaderT::HeaderSize |
Size of the header struct (currently 80 bytes (+ resources(??))
uint16_t HL2mdl::vtfHeaderT::Height |
Height at the largest MipMap level.
uint16_t HL2mdl::vtfHeaderT::NumFrames |
It's a small movie if NumFrames > 1.
uint8_t HL2mdl::vtfHeaderT::NumMipMaps |
Number of MipMap levels (including the largest image)
uint8_t HL2mdl::vtfHeaderT::Padding0[4] |
uint8_t HL2mdl::vtfHeaderT::Padding1[4] |
char HL2mdl::vtfHeaderT::TypeString[4] |
uint16_t HL2mdl::vtfHeaderT::Width |
Width at the largest MipMap level.
The documentation for this class was generated from the following file: