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

#include <VVD.h>

Collaboration diagram for mdlpp::VVD::VVD:

Public Member Functions

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

Public Attributes

int32_t version
int32_t numLODs
std::array< int32_t, MAX_LOD_COUNTnumVerticesInLOD
std::vector< Fixupfixups
std::vector< Vertexvertices

Detailed Description

Definition at line 37 of file VVD.h.

Member Function Documentation

◆ open()

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

Definition at line 11 of file VVD.cpp.

Member Data Documentation

◆ fixups

std::vector<Fixup> mdlpp::VVD::VVD::fixups

Definition at line 50 of file VVD.h.

◆ numLODs

int32_t mdlpp::VVD::VVD::numLODs

Definition at line 44 of file VVD.h.

◆ numVerticesInLOD

std::array<int32_t, MAX_LOD_COUNT> mdlpp::VVD::VVD::numVerticesInLOD

Definition at line 46 of file VVD.h.

◆ version

int32_t mdlpp::VVD::VVD::version

Definition at line 41 of file VVD.h.

◆ vertices

std::vector<Vertex> mdlpp::VVD::VVD::vertices

Definition at line 53 of file VVD.h.


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