载入中...
搜索中...
未找到
eve::graphics::vulkan::Graphics::GuideCaptureService结构体 参考final
类 eve::graphics::vulkan::Graphics::GuideCaptureService 继承关系图:
eve::IActionGuideCapture

Public 成员函数

 GuideCaptureService (Graphics &owner)
 
 ~GuideCaptureService () override
 
void clearGpu ()
 
bool busy () const
 
Result< std::string > requestCapture (std::string_view packJson, std::span< const std::string > shotIds) override
 Queue guide AOV capture for one pack revision / shot set; never block on GPU.
 
Result< ActionGuideCaptureSnapshot > captureSnapshot (std::string_view token) override
 Poll without waiting; Ready includes lease-owned RGBA buffers for export. @cost O(1) metadata copy; buffer shared_ptrs share ownership with the job.
 
Result< void > releaseCapture (std::string_view token) override
 Cancel/release; GPU resources survive until their fence completes.
 
Result< std::vector< Primitive3DVertex > > freeze ()
 
void recordCurrentShot ()
 
void publishCurrentShot ()
 
void fail (std::string reason)
 
void poll ()
 
- Public 成员函数 继承自 eve::IActionGuideCapture
virtual ~IActionGuideCapture ()=default
 

Public 属性

Graphics & graphics
 
ActionGuideCaptureSnapshot evidence
 
std::vector< std::string > selectedShotIds
 
std::vector< ActionGuideShot > pendingShots
 
size_t shotIndex = 0
 
std::vector< Primitive3DVertex > frozenGeometry
 
std::vector< ActionGuideBoneWorld > frozenBones
 
uint64_t frozenFrame = 0
 
vkb::ColorTarget color
 
vkb::DepthStencilImage depth
 
vkb::HostVertexBuffer vertices
 
vkb::GenericBuffer colorStaging
 
vkb::GenericBuffer depthStaging
 
vkb::BuiltRenderPass pass
 
vk::Framebuffer framebuffer {}
 
vk::PipelineLayout layout {}
 
vk::Pipeline pipeline {}
 
vk::CommandPool pool {}
 
vk::Fence fence {}
 
bool submitted = false
 
bool needSilhouette = false
 
bool needDepth = false
 
bool needBone = false
 

额外继承的成员函数

- 静态 Public 属性 继承自 eve::IActionGuideCapture
static constexpr const char * capabilityName = "IActionGuideCapture"
 

详细描述

在文件 GraphicsGuideCapture.cpp 第 150 行定义.

构造及析构函数说明

◆ GuideCaptureService()

eve::graphics::vulkan::Graphics::GuideCaptureService::GuideCaptureService ( Graphics &  owner)
inlineexplicit

在文件 GraphicsGuideCapture.cpp 第 175 行定义.

◆ ~GuideCaptureService()

eve::graphics::vulkan::Graphics::GuideCaptureService::~GuideCaptureService ( )
inlineoverride

在文件 GraphicsGuideCapture.cpp 第 176 行定义.

引用了 clearGpu().

成员函数说明

◆ busy()

bool eve::graphics::vulkan::Graphics::GuideCaptureService::busy ( ) const
inline

◆ captureSnapshot()

Result< ActionGuideCaptureSnapshot > eve::graphics::vulkan::Graphics::GuideCaptureService::captureSnapshot ( std::string_view  token)
inlineoverridevirtual

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::IActionGuideCapture.

在文件 GraphicsGuideCapture.cpp 第 247 行定义.

引用了 evidence, eve::NotFound, eve::Result< T >::success(), eve::ActionGuideCaptureSnapshot::token , 以及 token.

◆ clearGpu()

void eve::graphics::vulkan::Graphics::GuideCaptureService::clearGpu ( )
inline

◆ fail()

void eve::graphics::vulkan::Graphics::GuideCaptureService::fail ( std::string  reason)
inline

在文件 GraphicsGuideCapture.cpp 第 540 行定义.

引用了 evidence , 以及 eve::Failed.

◆ freeze()

◆ poll()

void eve::graphics::vulkan::Graphics::GuideCaptureService::poll ( )
inline

◆ publishCurrentShot()

◆ recordCurrentShot()

void eve::graphics::vulkan::Graphics::GuideCaptureService::recordCurrentShot ( )
inline

◆ releaseCapture()

Result< void > eve::graphics::vulkan::Graphics::GuideCaptureService::releaseCapture ( std::string_view  token)
inlineoverridevirtual

◆ requestCapture()

Result< std::string > eve::graphics::vulkan::Graphics::GuideCaptureService::requestCapture ( std::string_view  packJson,
std::span< const std::string >  shotIds 
)
inlineoverridevirtual

Queue guide AOV capture for one pack revision / shot set; never block on GPU.

参数
packJsonCanonical pack JSON borrowed for validation/copy on this call.
shotIdsEmpty 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::IActionGuideCapture.

在文件 GraphicsGuideCapture.cpp 第 206 行定义.

引用了 eve::ActionGuideCaptureSnapshot::backend, busy(), eve::decodeActionGuidePack(), evidence, eve::Failed, eve::Result< T >::failure(), freeze(), eve::Value::fromJson(), frozenBones, frozenFrame, frozenGeometry, graphics, eve::InvalidArgument, eve::ActionGuideCaptureSnapshot::pack, pack, pendingShots, eve::ActionGuideCaptureSnapshot::phase, eve::Queued, eve::ActionGuideCaptureSnapshot::reason, eve::ActionGuideCaptureSnapshot::revision, selectedShotIds, shotIndex, eve::ActionGuideCaptureSnapshot::shots, eve::Result< T >::success() , 以及 eve::ActionGuideCaptureSnapshot::token.

类成员变量说明

◆ color

vkb::ColorTarget eve::graphics::vulkan::Graphics::GuideCaptureService::color

在文件 GraphicsGuideCapture.cpp 第 159 行定义.

被这些函数引用 clearGpu().

◆ colorStaging

vkb::GenericBuffer eve::graphics::vulkan::Graphics::GuideCaptureService::colorStaging

在文件 GraphicsGuideCapture.cpp 第 162 行定义.

被这些函数引用 clearGpu().

◆ depth

vkb::DepthStencilImage eve::graphics::vulkan::Graphics::GuideCaptureService::depth

在文件 GraphicsGuideCapture.cpp 第 160 行定义.

被这些函数引用 clearGpu().

◆ depthStaging

vkb::GenericBuffer eve::graphics::vulkan::Graphics::GuideCaptureService::depthStaging

在文件 GraphicsGuideCapture.cpp 第 163 行定义.

被这些函数引用 clearGpu().

◆ evidence

ActionGuideCaptureSnapshot eve::graphics::vulkan::Graphics::GuideCaptureService::evidence

在文件 GraphicsGuideCapture.cpp 第 152 行定义.

被这些函数引用 busy(), captureSnapshot(), freeze(), releaseCapture() , 以及 requestCapture().

◆ fence

vk::Fence eve::graphics::vulkan::Graphics::GuideCaptureService::fence {}

在文件 GraphicsGuideCapture.cpp 第 169 行定义.

被这些函数引用 clearGpu().

◆ framebuffer

vk::Framebuffer eve::graphics::vulkan::Graphics::GuideCaptureService::framebuffer {}

在文件 GraphicsGuideCapture.cpp 第 165 行定义.

被这些函数引用 clearGpu().

◆ frozenBones

std::vector<ActionGuideBoneWorld> eve::graphics::vulkan::Graphics::GuideCaptureService::frozenBones

在文件 GraphicsGuideCapture.cpp 第 157 行定义.

被这些函数引用 freeze(), releaseCapture() , 以及 requestCapture().

◆ frozenFrame

uint64_t eve::graphics::vulkan::Graphics::GuideCaptureService::frozenFrame = 0

在文件 GraphicsGuideCapture.cpp 第 158 行定义.

被这些函数引用 requestCapture().

◆ frozenGeometry

std::vector<Primitive3DVertex> eve::graphics::vulkan::Graphics::GuideCaptureService::frozenGeometry

在文件 GraphicsGuideCapture.cpp 第 156 行定义.

被这些函数引用 releaseCapture() , 以及 requestCapture().

◆ graphics

Graphics& eve::graphics::vulkan::Graphics::GuideCaptureService::graphics

在文件 GraphicsGuideCapture.cpp 第 151 行定义.

被这些函数引用 clearGpu(), freeze() , 以及 requestCapture().

◆ layout

vk::PipelineLayout eve::graphics::vulkan::Graphics::GuideCaptureService::layout {}

在文件 GraphicsGuideCapture.cpp 第 166 行定义.

被这些函数引用 clearGpu().

◆ needBone

bool eve::graphics::vulkan::Graphics::GuideCaptureService::needBone = false

在文件 GraphicsGuideCapture.cpp 第 173 行定义.

◆ needDepth

bool eve::graphics::vulkan::Graphics::GuideCaptureService::needDepth = false

在文件 GraphicsGuideCapture.cpp 第 172 行定义.

◆ needSilhouette

bool eve::graphics::vulkan::Graphics::GuideCaptureService::needSilhouette = false

在文件 GraphicsGuideCapture.cpp 第 171 行定义.

◆ pass

vkb::BuiltRenderPass eve::graphics::vulkan::Graphics::GuideCaptureService::pass

在文件 GraphicsGuideCapture.cpp 第 164 行定义.

被这些函数引用 clearGpu().

◆ pendingShots

std::vector<ActionGuideShot> eve::graphics::vulkan::Graphics::GuideCaptureService::pendingShots

在文件 GraphicsGuideCapture.cpp 第 154 行定义.

被这些函数引用 releaseCapture() , 以及 requestCapture().

◆ pipeline

vk::Pipeline eve::graphics::vulkan::Graphics::GuideCaptureService::pipeline {}

在文件 GraphicsGuideCapture.cpp 第 167 行定义.

被这些函数引用 clearGpu().

◆ pool

vk::CommandPool eve::graphics::vulkan::Graphics::GuideCaptureService::pool {}

在文件 GraphicsGuideCapture.cpp 第 168 行定义.

被这些函数引用 clearGpu().

◆ selectedShotIds

std::vector<std::string> eve::graphics::vulkan::Graphics::GuideCaptureService::selectedShotIds

在文件 GraphicsGuideCapture.cpp 第 153 行定义.

被这些函数引用 requestCapture().

◆ shotIndex

size_t eve::graphics::vulkan::Graphics::GuideCaptureService::shotIndex = 0

在文件 GraphicsGuideCapture.cpp 第 155 行定义.

被这些函数引用 requestCapture().

◆ submitted

bool eve::graphics::vulkan::Graphics::GuideCaptureService::submitted = false

在文件 GraphicsGuideCapture.cpp 第 170 行定义.

被这些函数引用 clearGpu() , 以及 releaseCapture().

◆ vertices

vkb::HostVertexBuffer eve::graphics::vulkan::Graphics::GuideCaptureService::vertices

在文件 GraphicsGuideCapture.cpp 第 161 行定义.

被这些函数引用 clearGpu().


该结构体的文档由以下文件生成: