Optional native geometry-inspection provider, independent of graphics types. @thread Engine owner thread only; no scripts or callbacks are invoked. @lifetime Query on each call. Provider owns GPU work; returned CPU storage is immutable and lease-owned. 更多...
#include <EntityInspection.h>
Public 成员函数 | |
| virtual | ~IEntityInspection ()=default |
| Withdraw registration before destroying the provider. | |
| virtual Result< std::string > | request (EntityViewRequest request)=0 |
| Queue a bounded geometry-only capture; never wait for GPU completion. | |
| virtual Result< EntityViewSnapshot > | snapshot (std::string_view token)=0 |
| Poll token without waiting; returns owning metadata and CPU lease only when ready. | |
| virtual Result< FrameCapturePhase > | release (std::string_view token)=0 |
| Cancel/release; submitted resources survive until their fence completes. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "IEntityInspection" |
详细描述
Optional native geometry-inspection provider, independent of graphics types. @thread Engine owner thread only; no scripts or callbacks are invoked. @lifetime Query on each call. Provider owns GPU work; returned CPU storage is immutable and lease-owned.
在文件 EntityInspection.h 第 31 行定义.
构造及析构函数说明
◆ ~IEntityInspection()
|
virtualdefault |
Withdraw registration before destroying the provider.
成员函数说明
◆ release()
|
pure virtual |
Cancel/release; submitted resources survive until their fence completes.
◆ request()
|
pure virtual |
Queue a bounded geometry-only capture; never wait for GPU completion.
- 参数
-
request Owning target identity and panel dimensions; resolved and frozen on this owner-thread call.
- 返回
- Opaque token or explicit unsupported/budget diagnostic. @cost Four extra raster views plus readback per request; reuse the resulting snapshot.
◆ snapshot()
|
pure virtual |
Poll token without waiting; returns owning metadata and CPU lease only when ready.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
在文件 EntityInspection.h 第 33 行定义.
该类的文档由以下文件生成:
- src/engine/common/EntityInspection.h