4#include "structs/vtx.hpp"
123 int16_t replacementId;
124 std::string replacementName;
135 const std::weak_ptr<std::vector<std::byte>>& data,
const std::optional<int32_t>& checksum = std::nullopt
156 [[nodiscard]]
const std::vector<BodyPart>&
getBodyParts()
const;
160 std::vector<BodyPart> bodyParts;
161 std::vector<std::vector<MaterialReplacement>> materialReplacementsByLod;
const std::vector< MaterialReplacement > & getMaterialReplacements(const int lod) const
Definition: vtx.cpp:160
const std::vector< BodyPart > & getBodyParts() const
Definition: vtx.cpp:165
int32_t getChecksum() const
Definition: vtx.cpp:156
StripGroupFlags
Definition: enums.hpp:75
StripFlags
Definition: enums.hpp:49
MeshFlags
Definition: enums.hpp:96
Definition: MDLParser.hpp:6
std::vector< Model > models
Definition: vtx.hpp:119
std::vector< StripGroup > stripGroups
Definition: vtx.hpp:78
Enums::Vtx::MeshFlags flags
Definition: vtx.hpp:83
float switchPoint
Definition: vtx.hpp:98
std::vector< Mesh > meshes
Definition: vtx.hpp:93
std::vector< ModelLod > levelOfDetails
Definition: vtx.hpp:108
std::vector< Structs::Vtx::Vertex > vertices
Definition: vtx.hpp:52
Enums::Vtx::StripGroupFlags flags
Definition: vtx.hpp:68
std::vector< uint16_t > indices
Definition: vtx.hpp:58
std::vector< Strip > strips
Definition: vtx.hpp:63
Enums::Vtx::StripFlags flags
Definition: vtx.hpp:41
int32_t verticesOffset
Definition: vtx.hpp:27
int32_t verticesCount
Definition: vtx.hpp:23
int32_t indicesOffset
Definition: vtx.hpp:36
int32_t indicesCount
Definition: vtx.hpp:32