mirror of https://github.com/AxioDL/metaforce.git
35 lines
599 B
C++
35 lines
599 B
C++
#ifndef HMDLMETA_HPP
|
|
#define HMDLMETA_HPP
|
|
|
|
#include "hecl/hecl.hpp"
|
|
#include "athena/DNA.hpp"
|
|
|
|
namespace hecl
|
|
{
|
|
|
|
enum class HMDLTopology : atUint32
|
|
{
|
|
Triangles,
|
|
TriStrips,
|
|
};
|
|
|
|
#define HECL_HMDL_META_SZ 32
|
|
|
|
struct HMDLMeta : athena::io::DNA<athena::Big>
|
|
{
|
|
AT_DECL_DNA
|
|
Value<atUint32> magic = 'TACO';
|
|
Value<HMDLTopology> topology;
|
|
Value<atUint32> vertStride;
|
|
Value<atUint32> vertCount;
|
|
Value<atUint32> indexCount;
|
|
Value<atUint32> colorCount;
|
|
Value<atUint32> uvCount;
|
|
Value<atUint16> weightCount;
|
|
Value<atUint16> bankCount;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // HMDLMETA_HPP
|