载入中...
搜索中...
未找到
ActionGuidePack.h 文件参考

Versioned eve.action.guide-pack document codec and CPU landmark projection. 更多...

#include "common/Export.h"
#include "common/Result.h"
#include "common/Value.h"
#include <array>
#include <cstdint>
#include <memory>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <vector>

浏览源代码.

类

struct  eve::ActionGuideSubject
 Generation-qualified subject handle; domain-owned, not a universal actor. 更多...
 
struct  eve::ActionGuideCanvas
 Output canvas contract for guide images and landmark pixels. 更多...
 
struct  eve::ActionGuideCamera
 Offscreen guide camera; never mutates the live gameplay camera. 更多...
 
struct  eve::ActionGuideShot
 One guide shot: sample time, view label, and required AOV set. 更多...
 
struct  eve::ActionGuidePhaseMark
 Named phase marker for later Action/Ability timeline binding. 更多...
 
struct  eve::ActionGuideBinding
 Draft binding from guide clips into an ability/clip identity. 更多...
 
struct  eve::ActionGuideQc
 Acceptance thresholds for candidate ingest / verify. 更多...
 
struct  eve::ActionGuidePack
 Authoritative guide-pack document (no pointers, GPU tokens, or ECS slots). @ownership Caller-owned value object; encode/decode copy all nested storage. @thread Affine to the caller; encode/decode are reentrant and invoke no callbacks. 更多...
 
struct  eve::ActionGuideBoneWorld
 World-space bone sample supplied by an animation/pose owner. 更多...
 
struct  eve::ActionGuideLandmark
 Projected joint in guide-canvas pixels (origin top-left) plus view depth. 更多...
 
struct  eve::ActionGuideAovBuffer
 One lease-owned CPU AOV buffer (always RGBA8 for PNG export). @ownership rgba8 is immutable shared storage owned by the capture job until release. 更多...
 
struct  eve::ActionGuideShotArtifact
 Per-shot artifact set for a Ready capture. 更多...
 
struct  eve::ActionGuideCaptureSnapshot
 Immutable CPU snapshot for one guide-capture job. @lifetime Bytes remain valid until releaseCapture; never expose GPU objects. 更多...
 
class  eve::IActionGuideCapture
 Optional GPU guide-capture provider (silhouette/depth/bone AOV export). @thread Engine owner thread only; never wait for GPU inside request. @lifetime Query on each call. Absent provider → MCP reports ProviderAbsent. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

枚举

enum class  eve::ActionGuideRootMode : std::uint8_t { eve::InPlace , eve::WorldRoot }
 Root-motion handling when sampling the subject for guide shots. 更多...
 
enum class  eve::ActionGuideProjection : std::uint8_t { eve::Orthographic , eve::Perspective }
 Camera projection used for guide AOVs and landmark projection. 更多...
 
enum class  eve::ActionGuideCapturePhase : std::uint8_t {
  eve::Queued , eve::Rendering , eve::Ready , eve::Failed ,
  eve::Cancelled , eve::Released
}
 Guide-capture job progress; Ready is published only after every requested AOV exists. 更多...
 

函数

Result< Value > eve::encodeActionGuidePack (const ActionGuidePack &pack)
 Encode one validated guide pack as canonical schema version 1 data.
 
Result< ActionGuidePack > eve::decodeActionGuidePack (const Value &value)
 Decode schema version 1; unknown fields/versions and incomplete shots are rejected.
 
Result< std::vector< ActionGuideLandmark > > eve::projectActionGuideLandmarks (const ActionGuidePack &pack, std::span< const ActionGuideBoneWorld > bones)
 Project world-space bones into guide-canvas landmarks using the pack camera/canvas.
 
std::string_view eve::actionGuideCapturePhaseName (ActionGuideCapturePhase phase)
 Stable protocol spelling of a guide-capture phase.
 

变量

constexpr std::string_view eve::kActionGuidePackSchemaId = "eve.action.guide-pack"
 
constexpr std::uint64_t eve::kActionGuidePackSchemaVersion = 1
 

详细描述

Versioned eve.action.guide-pack document codec and CPU landmark projection.

Owns the document protocol for the whitebox→AI-guide→2D-action pipeline. Does not own GPU capture, sprite ingest, or AbilityRuntime state. Wire keys use schema / schemaVersion (same convention as eve.action.ability).

在文件 ActionGuidePack.h 中定义.