Single-provider frame observation boundary, independent of graphics headers. @thread Engine main thread only; no callbacks or scripts are invoked by operations. @lifetime Query the provider for each tool call; snapshots retain owning CPU leases. 更多...
#include <FrameCapture.h>
Public 成员函数 | |
| virtual | ~IRenderFrameCapture ()=default |
| Destroy the service after withdrawing its registration. | |
| virtual FrameCaptureCapabilities | capabilities () const =0 |
| Inspect backend support, without GPU work. | |
| virtual Result< std::string > | request (FrameCaptureRequest request)=0 |
| Queue next normal frame. @cost Readback scales with selected pixel count, once per request. | |
| virtual Result< FrameCaptureSnapshot > | snapshot (std::string_view token)=0 |
| Inspect an immutable CPU snapshot; never waits on a GPU fence. | |
| virtual Result< FrameCapturePhase > | release (std::string_view token)=0 |
| Cancel or release a token; in-flight resources remain backend-owned until safe. | |
| virtual void | invalidate ()=0 |
| Invalidate all tokens on provider or game generation changes. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IRenderFrameCapture" |
详细描述
Single-provider frame observation boundary, independent of graphics headers. @thread Engine main thread only; no callbacks or scripts are invoked by operations. @lifetime Query the provider for each tool call; snapshots retain owning CPU leases.
在文件 FrameCapture.h 第 111 行定义.
构造及析构函数说明
◆ ~IRenderFrameCapture()
|
virtualdefault |
Destroy the service after withdrawing its registration.
成员函数说明
◆ capabilities()
|
pure virtual |
Inspect backend support, without GPU work.
在 eve::FrameCaptureStore 内被实现.
◆ invalidate()
|
pure virtual |
Invalidate all tokens on provider or game generation changes.
在 eve::FrameCaptureStore 内被实现.
◆ release()
|
pure virtual |
Cancel or release a token; in-flight resources remain backend-owned until safe.
在 eve::FrameCaptureStore 内被实现.
◆ request()
|
pure virtual |
Queue next normal frame. @cost Readback scales with selected pixel count, once per request.
在 eve::FrameCaptureStore 内被实现.
◆ snapshot()
|
pure virtual |
Inspect an immutable CPU snapshot; never waits on a GPU fence.
在 eve::FrameCaptureStore 内被实现.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 FrameCapture.h 第 113 行定义.
该类的文档由以下文件生成:
- src/engine/common/FrameCapture.h