3#include "./structs/mdl.hpp"
132 const std::weak_ptr<std::vector<std::byte>>& data,
const std::optional<int32_t>& checksum = std::nullopt
146 [[nodiscard]]
const std::vector<BodyPart>&
getBodyParts()
const;
162 [[nodiscard]]
const std::vector<Texture>&
getTextures()
const;
180 [[nodiscard]]
const std::vector<Bone>&
getBones()
const;
184 std::optional<Structs::Mdl::Header2> header2;
186 std::vector<BodyPart> bodyParts;
188 std::vector<std::string> textureDirectories;
189 std::vector<Texture> textures;
190 std::vector<std::vector<int16_t>> skins;
192 std::vector<Bone> bones;
int32_t getChecksum() const
Definition: mdl.cpp:156
const std::vector< std::vector< int16_t > > & getSkinLookupTable() const
Definition: mdl.cpp:172
const std::vector< std::string > & getTextureDirectories() const
Definition: mdl.cpp:164
const std::vector< Bone > & getBones() const
Definition: mdl.cpp:176
const std::vector< Texture > & getTextures() const
Definition: mdl.cpp:168
const std::vector< BodyPart > & getBodyParts() const
Definition: mdl.cpp:160
Definition: MDLParser.hpp:6
std::vector< Model > models
Definition: mdl.hpp:78
std::string name
Definition: mdl.hpp:73
int32_t flags
Definition: mdl.hpp:109
int32_t parent
Definition: mdl.hpp:93
std::string name
Definition: mdl.hpp:88
Structs::Matrix3x4 poseToBone
Definition: mdl.hpp:104
int32_t material
Definition: mdl.hpp:26
int32_t vertexCount
Definition: mdl.hpp:37
int32_t vertexOffset
Definition: mdl.hpp:32
int32_t vertexOffset
Definition: mdl.hpp:52
int32_t tangentsOffset
Definition: mdl.hpp:57
int32_t vertexCount
Definition: mdl.hpp:62
std::vector< Mesh > meshes
Definition: mdl.hpp:47
std::string name
Definition: mdl.hpp:120
Definition: common.hpp:21
Definition: common.hpp:14
Definition: common.hpp:10