载入中...
搜索中...
未找到
eve::IRenderFrameCapture类 参考abstract

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>

类 eve::IRenderFrameCapture 继承关系图:
eve::FrameCaptureStore

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()

virtual eve::IRenderFrameCapture::~IRenderFrameCapture ( )
virtualdefault

Destroy the service after withdrawing its registration.

成员函数说明

◆ capabilities()

virtual FrameCaptureCapabilities eve::IRenderFrameCapture::capabilities ( ) const
pure virtual

Inspect backend support, without GPU work.

在 eve::FrameCaptureStore 内被实现.

◆ invalidate()

virtual void eve::IRenderFrameCapture::invalidate ( )
pure virtual

Invalidate all tokens on provider or game generation changes.

在 eve::FrameCaptureStore 内被实现.

◆ release()

virtual Result< FrameCapturePhase > eve::IRenderFrameCapture::release ( std::string_view  token)
pure virtual

Cancel or release a token; in-flight resources remain backend-owned until safe.

在 eve::FrameCaptureStore 内被实现.

◆ request()

virtual Result< std::string > eve::IRenderFrameCapture::request ( FrameCaptureRequest  request)
pure virtual

Queue next normal frame. @cost Readback scales with selected pixel count, once per request.

在 eve::FrameCaptureStore 内被实现.

◆ snapshot()

virtual Result< FrameCaptureSnapshot > eve::IRenderFrameCapture::snapshot ( std::string_view  token)
pure virtual

Inspect an immutable CPU snapshot; never waits on a GPU fence.

在 eve::FrameCaptureStore 内被实现.

类成员变量说明

◆ capabilityName

constexpr const char* eve::IRenderFrameCapture::capabilityName = "IRenderFrameCapture"
staticconstexpr

在文件 FrameCapture.h 第 113 行定义.


该类的文档由以下文件生成: