载入中...
搜索中...
未找到
GeometryCollectionCooker.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4#include "common/Result.h"
7
8namespace eve::asset {
9struct CanonicalMeshData;
10}
11
13
26[[nodiscard("check geometry-collection cooking")]]
28 const eve::asset::CanonicalMeshData& mesh, const FractureRecipe& recipe);
29
30} // namespace eve::physics::destruction_cook
#define EVENGINE_API_DOMAINS
Definition Export.h:110
Mesh * mesh
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
eve::Result< GeometryCollectionAsset > cookGeometryCollection(const eve::asset::CanonicalMeshData &mesh, const FractureRecipe &recipe)
Cook an owning canonical mesh into a geometry-collection asset.
Owning CPU mesh snapshot; UV arrays are packed ST pairs indexed by source set number....