载入中...
搜索中...
未找到
#include <cstdint>#include <map>#include <span>#include <string>#include <vector>#include "common/Export.h"#include "common/Result.h"类 | |
| struct | eve::asset::CanonicalMeshAttribute |
| Owning float vertex attribute; one to four components per vertex. 更多... | |
| struct | eve::asset::CanonicalMeshData |
| Owning CPU mesh snapshot; UV arrays are packed ST pairs indexed by source set number. No pointers into the source archive are retained. Each array has one authoritative owner. 更多... | |
| struct | eve::asset::CanonicalMeshLimits |
| Allocation limits checked before decoding any vertex arrays. UV count is byte-budget bounded. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::asset |
函数 | |
| Result< CanonicalMeshData > | eve::asset::decodeCanonicalMesh (std::span< const std::uint8_t > bytes, const CanonicalMeshLimits &limits={}) |
| Decode canonical EVMESH binary v1, v2 or v3 into independently owned arrays. | |
| EVENGINE_API_FOUNDATION Result< std::vector< std::uint8_t > > | eve::asset::encodeCanonicalMesh (const CanonicalMeshData &mesh, const CanonicalMeshLimits &limits={}) |
| Encode an owning snapshot to EVMESH v3, or v2 when no named attributes exist. Borrows input synchronously; worker-safe, reentrant, without callbacks or retained pointers. | |