载入中...
搜索中...
未找到
SoftBodyModelCooker.cpp
浏览该文件的文档.
28 eve::DiagnosticCode::InvalidArgument, "mesh indices must contain complete triangles", "mesh.indices"));
53 eve::DiagnosticCode::InvalidArgument, "mesh triangle index exceeds vertex count", "mesh.indices"));
56 eve::DiagnosticCode::InvalidArgument, "mesh contains a degenerate index triangle", "mesh.indices"));
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={}, DiagnosticDetails details={}, std::string source={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.h:125
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
eve::Result< SoftBodyModel > cookSoftBodyModel(const eve::asset::CanonicalMeshData &mesh, const SoftBodyModelDefinition &definition)
Cook an owning canonical mesh snapshot into a validated soft-body model.
Definition SoftBodyModelCooker.cpp:12
@ InvalidArgument
@ Unsupported
Owning CPU mesh snapshot; UV arrays are packed ST pairs indexed by source set number....
Definition CanonicalMesh.h:18
An overlapping shape-matching cluster stored by particle index.
Definition SoftBodyModel.h:26
std::vector< std::uint32_t > particleIndices
Definition SoftBodyModel.h:27
Versioned authoring recipe used to cook a mesh-backed SoftBodyModel.
Definition SoftBodyModelDefinition.h:21
Backend-neutral, owning result of deterministic soft-body cooking.
Definition SoftBodyModel.h:37