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()
|
inlineexplicit |
在文件 GraphicsGuideCapture.cpp 第 175 行定义.
◆ ~GuideCaptureService()
|
inlineoverride |
在文件 GraphicsGuideCapture.cpp 第 176 行定义.
引用了 clearGpu().
成员函数说明
◆ busy()
|
inline |
在文件 GraphicsGuideCapture.cpp 第 200 行定义.
引用了 evidence, eve::ActionGuideCaptureSnapshot::phase, eve::Queued, eve::Rendering , 以及 eve::ActionGuideCaptureSnapshot::token.
被这些函数引用 requestCapture().
◆ captureSnapshot()
|
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.
在文件 GraphicsGuideCapture.cpp 第 247 行定义.
引用了 evidence, eve::NotFound, eve::Result< T >::success(), eve::ActionGuideCaptureSnapshot::token , 以及 token.
◆ clearGpu()
|
inline |
在文件 GraphicsGuideCapture.cpp 第 178 行定义.
引用了 color, colorStaging, depth, depthStaging, device, fence, framebuffer, graphics, layout, pass, pipeline, pool, submitted , 以及 vertices.
被这些函数引用 releaseCapture() , 以及 ~GuideCaptureService().
◆ fail()
|
inline |
在文件 GraphicsGuideCapture.cpp 第 540 行定义.
引用了 evidence , 以及 eve::Failed.
◆ freeze()
|
inline |
在文件 GraphicsGuideCapture.cpp 第 269 行定义.
引用了 bone, bytes, eve::ActionGuidePack::camera, camera, eve::graphics::cameraProjectionVulkanRH_ZO(), eve::ActionGuidePack::canvas, count, eve::graphics::vulkan::Graphics::describeMesh(), element, entity, evidence, eve::Result< T >::failure(), frozenBones, eve::ActionGuideSubject::generation, gpu, graphics, handle, eve::ActionGuideSubject::id, index, indices, eve::InvalidArgument, eve::graphics::Renderable3D::MeshRenderer::kMaxParts, material, mesh, model, eve::graphics::detail::modelFromTransform(), normal, eve::Orthographic, output, eve::ActionGuideCaptureSnapshot::pack, palette, position, renderer, source, eve::StaleHandle, eve::ActionGuidePack::subject, eve::Result< T >::success(), eve::Unsupported, view, viewProj , 以及 weights.
被这些函数引用 requestCapture().
◆ poll()
|
inline |
在文件 GraphicsGuideCapture.cpp 第 547 行定义.
引用了 eve::Cancelled, evidence, eve::Failed, graphics, eve::Queued, eve::Ready, eve::Released, eve::Rendering , 以及 status.
◆ publishCurrentShot()
|
inline |
在文件 GraphicsGuideCapture.cpp 第 486 行定义.
引用了 eve::ActionGuideAovBuffer::aov, eve::ActionGuideShotArtifact::aovs, buffer, evidence, height, eve::projectActionGuideLandmarks(), eve::ActionGuideShotArtifact::sampleIndex, eve::ActionGuideShotArtifact::shotId, eve::ActionGuideShotArtifact::tags, eve::ActionGuideShotArtifact::timeSeconds, eve::ActionGuideShotArtifact::view , 以及 width.
◆ recordCurrentShot()
|
inline |
◆ releaseCapture()
|
inlineoverridevirtual |
Cancel/release; GPU resources survive until their fence completes.
在文件 GraphicsGuideCapture.cpp 第 253 行定义.
引用了 eve::Cancelled, clearGpu(), evidence, frozenBones, frozenGeometry, eve::NotFound, pendingShots, eve::ActionGuideCaptureSnapshot::phase, eve::Released, eve::ActionGuideCaptureSnapshot::shots, submitted, eve::Result< T >::success(), eve::ActionGuideCaptureSnapshot::token , 以及 token.
◆ requestCapture()
|
inlineoverridevirtual |
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.
在文件 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().
该结构体的文档由以下文件生成:
- src/modules/graphics/vulkan/GraphicsGuideCapture.cpp
Public 成员函数 继承自