载入中...
搜索中...
未找到
ActionGuidePack.h
浏览该文件的文档.
139[[nodiscard]] EVENGINE_API_FOUNDATION Result<Value> encodeActionGuidePack(const ActionGuidePack& pack);
147[[nodiscard]] EVENGINE_API_FOUNDATION Result<ActionGuidePack> decodeActionGuidePack(const Value& value);
157[[nodiscard]] EVENGINE_API_FOUNDATION Result<std::vector<ActionGuideLandmark>> projectActionGuideLandmarks(
171[[nodiscard]] EVENGINE_API_FOUNDATION std::string_view actionGuideCapturePhaseName(ActionGuideCapturePhase phase);
231 [[nodiscard]] virtual Result<ActionGuideCaptureSnapshot> captureSnapshot(std::string_view token) = 0;
#define EVENGINE_API_FOUNDATION_INLINE
仅供"只有内联成员"的类型使用的组宏:拥有者 dllexport,消费方不导入。
Definition Export.h:170
Move-only, checked operation results for the common layer.
Owning, renderer-independent dynamic values.
Optional GPU guide-capture provider (silhouette/depth/bone AOV export). @thread Engine owner thread o...
Definition ActionGuidePack.h:213
virtual ~IActionGuideCapture()=default
virtual Result< ActionGuideCaptureSnapshot > captureSnapshot(std::string_view token)=0
Poll without waiting; Ready includes lease-owned RGBA buffers for export. @cost O(1) metadata copy; b...
virtual Result< void > releaseCapture(std::string_view token)=0
Cancel/release; GPU resources survive until their fence completes.
virtual Result< std::string > requestCapture(std::string_view packJson, std::span< const std::string > shotIds)=0
Queue guide AOV capture for one pack revision / shot set; never block on GPU.
Result< Value > encodeActionGuidePack(const ActionGuidePack &pack)
Encode one validated guide pack as canonical schema version 1 data.
Definition ActionGuidePack.cpp:466
Result< std::vector< ActionGuideLandmark > > projectActionGuideLandmarks(const ActionGuidePack &pack, std::span< const ActionGuideBoneWorld > bones)
Project world-space bones into guide-canvas landmarks using the pack camera/canvas.
Definition ActionGuidePack.cpp:595
ActionGuideRootMode
Root-motion handling when sampling the subject for guide shots.
Definition ActionGuidePack.h:31
@ InPlace
@ WorldRoot
std::string_view actionGuideCapturePhaseName(ActionGuideCapturePhase phase)
Stable protocol spelling of a guide-capture phase.
Definition ActionGuidePack.cpp:639
ActionGuideCapturePhase
Guide-capture job progress; Ready is published only after every requested AOV exists.
Definition ActionGuidePack.h:161
@ Cancelled
@ Rendering
@ Released
Result< ActionGuidePack > decodeActionGuidePack(const Value &value)
Decode schema version 1; unknown fields/versions and incomplete shots are rejected.
Definition ActionGuidePack.cpp:524
constexpr std::uint64_t kActionGuidePackSchemaVersion
Definition ActionGuidePack.h:28
ActionGuideProjection
Camera projection used for guide AOVs and landmark projection.
Definition ActionGuidePack.h:34
@ Orthographic
@ Perspective
constexpr std::string_view kActionGuidePackSchemaId
Definition ActionGuidePack.h:27
One lease-owned CPU AOV buffer (always RGBA8 for PNG export). @ownership rgba8 is immutable shared st...
Definition ActionGuidePack.h:177
std::shared_ptr< const std::vector< std::uint8_t > > rgba8
Definition ActionGuidePack.h:181
Draft binding from guide clips into an ability/clip identity.
Definition ActionGuidePack.h:81
std::vector< ActionGuidePhaseMark > phaseMarks
Definition ActionGuidePack.h:86
World-space bone sample supplied by an animation/pose owner.
Definition ActionGuidePack.h:115
std::optional< std::string > parentId
Definition ActionGuidePack.h:119
Offscreen guide camera; never mutates the live gameplay camera.
Definition ActionGuidePack.h:53
Output canvas contract for guide images and landmark pixels.
Definition ActionGuidePack.h:44
std::array< double, 4 > backgroundRgba
Definition ActionGuidePack.h:48
Immutable CPU snapshot for one guide-capture job. @lifetime Bytes remain valid until releaseCapture; ...
Definition ActionGuidePack.h:198
std::vector< ActionGuideShotArtifact > shots
Definition ActionGuidePack.h:205
Projected joint in guide-canvas pixels (origin top-left) plus view depth.
Definition ActionGuidePack.h:123
std::optional< std::string > parentId
Definition ActionGuidePack.h:129
Authoritative guide-pack document (no pointers, GPU tokens, or ECS slots). @ownership Caller-owned va...
Definition ActionGuidePack.h:101
Named phase marker for later Action/Ability timeline binding.
Definition ActionGuidePack.h:75
Acceptance thresholds for candidate ingest / verify.
Definition ActionGuidePack.h:90
Per-shot artifact set for a Ready capture.
Definition ActionGuidePack.h:185
std::optional< std::int64_t > sampleIndex
Definition ActionGuidePack.h:188
std::vector< ActionGuideAovBuffer > aovs
Definition ActionGuidePack.h:191
One guide shot: sample time, view label, and required AOV set.
Definition ActionGuidePack.h:65
std::optional< std::int64_t > sampleIndex
Definition ActionGuidePack.h:68
Generation-qualified subject handle; domain-owned, not a universal actor.
Definition ActionGuidePack.h:37