Cafu Engine
HL2mdl::StripsHeaderT Class Reference

This is the header of a VTX strips data file. More...

#include "Loader_mdl_hl2_vtx.hpp"

Public Member Functions

vtxMaterialReplacementListTGetMaterialReplacementLists () const
 
vtxBodyPartTGetBodyParts () const
 
std::ostream & print (std::ostream &os, const char *indent) const
 

Public Attributes

uint32_t Version
 Must be FILE_VERSION. More...
 
uint32_t VertCacheSize
 These four are hardware-specific parameters that affect how the model is to be optimized. More...
 
uint16_t MaxBonesPerStrip
 
uint16_t MaxBonesPerTri
 
uint32_t MaxBonesPerVert
 
uint32_t Checksum
 Must match the checksum in StudioHeaderT. More...
 
uint32_t NumLODs
 The same value is repeated in each vtxModelT. More...
 
uint32_t MatReplacementListsOffset
 One per LOD. More...
 
uint32_t NumBodyParts
 
uint32_t BodyPartsOffset
 

Static Public Attributes

static const uint32_t FILE_VERSION = 7
 The currently supported file format version. More...
 

Detailed Description

This is the header of a VTX strips data file.

Member Data Documentation

uint32_t HL2mdl::StripsHeaderT::Checksum

Must match the checksum in StudioHeaderT.

const uint32_t StripsHeaderT::FILE_VERSION = 7
static

The currently supported file format version.

uint32_t HL2mdl::StripsHeaderT::MatReplacementListsOffset

One per LOD.

uint32_t HL2mdl::StripsHeaderT::NumLODs

The same value is repeated in each vtxModelT.

uint32_t HL2mdl::StripsHeaderT::Version

Must be FILE_VERSION.

uint32_t HL2mdl::StripsHeaderT::VertCacheSize

These four are hardware-specific parameters that affect how the model is to be optimized.


The documentation for this class was generated from the following files: