载入中...
搜索中...
未找到
DeformCaptureInternal.h
浏览该文件的文档.
6Result<DeformFrame> captureDeformSource(const Source& source, float seconds, DeformPrimitive primitive,
16 DeformTopology::prepare(primitive, static_cast<std::size_t>(count), std::move(indices).takeValue(), {});
24 DiagnosticCode::InvalidArgument, "nonfinite deformation capture position", "deformBakeCapture"));
27 return Result<DeformFrame>::success({seconds, std::move(topology).takeValue(), std::move(positions)});
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.cpp:21
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:196
static Result< DeformTopology > prepare(DeformPrimitive primitive, std::size_t vertexCount, std::vector< std::uint32_t > indices, std::vector< DeformUV > uv)
Validate bounded connectivity and freeze it with a deterministic content identity.
Definition DeformTopology.cpp:16
Result< DeformFrame > captureDeformSource(const Source &source, float seconds, DeformPrimitive primitive, Connectivity connectivity)
Definition DeformCaptureInternal.h:6
DeformPrimitive
Explicit primitive arity; connectivity retains order and triangle winding.
Definition DeformTopology.h:12
@ InvalidArgument
Owning position in the explicit coordinates recorded by the recipe.
Definition DeformTrack.h:11