13 const std::array<char, 4> header = {
'r',
'v',
'e',
'm'};
14 uint32_t numVertices = 0;
15 uint32_t numIndicies = 0;
16 VertexAttrib_t attributes = 0;
18 constexpr static VertexAttrib_t
19 SkinnedMeshBit = 1 << 0,
20 hasPositionsBit = 1 << 1,
21 hasNormalsBit = 1 << 2,
22 hasTangentsBit = 1 << 3,
23 hasBitangentsBit = 1 << 4,
25 hasLightmapUVBit = 1 << 6
73 positions = { other.positions.data(),other.positions.size() };
74 normals = { other.normals.data(),other.normals.size() };
75 tangents = { other.tangents.data(),other.tangents.size() };
76 bitangents = { other.bitangents.data(),other.bitangents.size() };
77 uv0 = { other.uv0.data(),other.uv0.size() };
78 lightmapUVs = { other.lightmapUVs.data(),other.lightmapUVs.size() };
79 indices = { other.indices.data(), other.indices.size() };
80 attributes = other.attributes;