Simulant  21.12-194
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
smlt::loaders::MD2MeshFrameData Class Reference
Inheritance diagram for smlt::loaders::MD2MeshFrameData:


struct  FrameTransform
struct  FrameVertex
struct  UnpackedVertex

Public Types

typedef std::vector< UnpackedVertexUnpackedFrame

Public Member Functions

void _expand_verts (uint16_t frame)
void prepare_unpack (uint32_t, uint32_t, float, Rig *const, Debug *const =nullptr) override
void unpack_frame (const uint32_t current_frame, const uint32_t next_frame, const float t, Rig *const rig, VertexData *const out, Debug *const debug=nullptr)

Public Attributes

uint16_t vertex_count = 0
std::vector< FrameVertexvertices_
std::vector< FrameTransformframes_
std::unordered_map< uint16_t, UnpackedFrame > frame_cache
std::unordered_map< uint16_t, uint64_t > frame_usage_times

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