Toast Engine
Loading...
Searching...
No Matches
assets::_detail::MeshFileHeader Struct Reference

Fixed 16-byte .tmesh header. More...

#include <mesh.hpp>

Public Attributes

std::array< uint8_t, 6 > magic = {'T', 'M', 'E', 'S', 'H', '\0'}
uint16_t version = mesh_format_version
uint32_t vertex_count = 0
uint32_t index_count = 0

Detailed Description

Fixed 16-byte .tmesh header.

Never gains fields: it is memcpy'd out of the file before the version is checked, so growing it shifts the body offset and misparses. New data goes in the body


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