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. 更多...
#include <ActionGuidePack.h>
Public 成员函数 | |
| virtual | ~IActionGuideCapture ()=default |
| 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. | |
| 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; buffer shared_ptrs share ownership with the job. | |
| virtual Result< void > | releaseCapture (std::string_view token)=0 |
| Cancel/release; GPU resources survive until their fence completes. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "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.
在文件 ActionGuidePack.h 第 213 行定义.
构造及析构函数说明
◆ ~IActionGuideCapture()
|
virtualdefault |
成员函数说明
◆ captureSnapshot()
|
pure virtual |
Poll without waiting; Ready includes lease-owned RGBA buffers for export. @cost O(1) metadata copy; buffer shared_ptrs share ownership with the job.
在 eve::graphics::vulkan::Graphics::GuideCaptureService 内被实现.
◆ releaseCapture()
|
pure virtual |
Cancel/release; GPU resources survive until their fence completes.
在 eve::graphics::vulkan::Graphics::GuideCaptureService 内被实现.
◆ requestCapture()
|
pure virtual |
Queue guide AOV capture for one pack revision / shot set; never block on GPU.
- 参数
-
packJson Canonical pack JSON borrowed for validation/copy on this call. shotIds Empty means all shots in the pack.
- 返回
- Opaque job token, or Unsupported / budget diagnostic. @cost Extra offscreen raster + readback per shot × AOV; reuse the resulting artifacts.
在 eve::graphics::vulkan::Graphics::GuideCaptureService 内被实现.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 ActionGuidePack.h 第 215 行定义.
该类的文档由以下文件生成:
- src/engine/common/ActionGuidePack.h