SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
Loading...
Searching...
No Matches
mdlpp::VTX::VTX Struct Reference

#include <VTX.h>

Collaboration diagram for mdlpp::VTX::VTX:

Public Member Functions

bool open (const std::byte *data, std::size_t size, const MDL::MDL &mdl)
 

Public Attributes

int32_t version
 
int32_t vertexCacheSize
 
uint16_t maxBonesPerStrip
 
uint16_t maxBonesPerTriangle
 
int32_t maxBonesPerVertex
 
int32_t numLODs
 
std::vector< BodyPartbodyParts
 

Detailed Description

Definition at line 110 of file VTX.h.

Member Function Documentation

◆ open()

bool VTX::open ( const std::byte *  data,
std::size_t  size,
const MDL::MDL mdl 
)

Definition at line 7 of file VTX.cpp.

Member Data Documentation

◆ bodyParts

std::vector<BodyPart> mdlpp::VTX::VTX::bodyParts

Definition at line 125 of file VTX.h.

◆ maxBonesPerStrip

uint16_t mdlpp::VTX::VTX::maxBonesPerStrip

Definition at line 115 of file VTX.h.

◆ maxBonesPerTriangle

uint16_t mdlpp::VTX::VTX::maxBonesPerTriangle

Definition at line 116 of file VTX.h.

◆ maxBonesPerVertex

int32_t mdlpp::VTX::VTX::maxBonesPerVertex

Definition at line 117 of file VTX.h.

◆ numLODs

int32_t mdlpp::VTX::VTX::numLODs

Definition at line 119 of file VTX.h.

◆ version

int32_t mdlpp::VTX::VTX::version

Definition at line 113 of file VTX.h.

◆ vertexCacheSize

int32_t mdlpp::VTX::VTX::vertexCacheSize

Definition at line 114 of file VTX.h.


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