Public 成员函数 | |
| InspectionService (Graphics &owner) | |
| ~InspectionService () override | |
| void | clearGpu () |
| Result< std::string > | request (EntityViewRequest request) override |
| Queue a bounded geometry-only capture; never wait for GPU completion. | |
| Result< EntityViewSnapshot > | snapshot (std::string_view requested) override |
| Poll token without waiting; returns owning metadata and CPU lease only when ready. | |
| Result< FrameCapturePhase > | release (std::string_view requested) override |
| Cancel/release; submitted resources survive until their fence completes. | |
| Result< std::vector< Primitive3DVertex > > | freeze () |
| void | record (const std::vector< Primitive3DVertex > &geometry) |
| void | poll () |
Public 成员函数 继承自 eve::IEntityInspection | |
| virtual | ~IEntityInspection ()=default |
| Withdraw registration before destroying the provider. | |
Public 属性 | |
| Graphics & | graphics |
| FrameCaptureStore | store |
| EntityViewSnapshot | evidence |
| std::string | token |
| std::vector< Primitive3DVertex > | frozenGeometry |
| uint64_t | frozenFrame = 0 |
| vkb::ColorTarget | color |
| vkb::DepthTarget | depth |
| vkb::HostVertexBuffer | vertices |
| vkb::GenericBuffer | staging |
| vkb::BuiltRenderPass | pass |
| vk::Framebuffer | framebuffer {} |
| vk::PipelineLayout | layout {} |
| vk::Pipeline | pipeline {} |
| vk::CommandPool | pool {} |
| vk::Fence | fence {} |
| bool | submitted = false |
额外继承的成员函数 | |
静态 Public 属性 继承自 eve::IEntityInspection | |
| static constexpr const char * | capabilityName = "IEntityInspection" |
详细描述
在文件 GraphicsEntityInspection.cpp 第 23 行定义.
构造及析构函数说明
◆ InspectionService()
|
inlineexplicit |
在文件 GraphicsEntityInspection.cpp 第 42 行定义.
引用了 caps, eve::FrameCaptureStore::configure(), eve::Final , 以及 store.
◆ ~InspectionService()
|
inlineoverride |
在文件 GraphicsEntityInspection.cpp 第 48 行定义.
引用了 clearGpu().
成员函数说明
◆ clearGpu()
|
inline |
◆ freeze()
|
inline |
在文件 GraphicsEntityInspection.cpp 第 113 行定义.
引用了 axis, bone, eve::EntityViewSnapshot::bounds, bounds, bytes, camera, eve::graphics::cameraProjectionVulkanRH_ZO(), eve::EntityViewSnapshot::cameras, eve::EntityViewRequest::cellSize, count, eve::graphics::vulkan::Graphics::describeMesh(), element, entity, eve::EntityViewRequest::entityId, evidence, eve::Result< T >::failure(), eve::EntityViewRequest::generation, eve::graphics::Graphics::getPixelHeight(), eve::graphics::Graphics::getPixelWidth(), gpu, graphics, handle, eve::graphics::InspectionCamera::height, index, indices, eve::InvalidArgument, eve::graphics::Renderable3D::MeshRenderer::kMaxParts, material, mesh, model, eve::graphics::detail::modelFromTransform(), normal, eve::NotFound, output, palette, eve::graphics::planInspectionViews(), position, eve::graphics::InspectionCamera::projection, renderer, eve::EntityViewSnapshot::request, size, eve::EntityViewRequest::skinPalettes, source, eve::StaleHandle, eve::Result< T >::success(), eve::Unsupported, view, eve::graphics::InspectionCamera::view, weights, eve::graphics::InspectionCamera::width , 以及 eve::EntityViewSnapshot::worldUnitsPerPixel.
被这些函数引用 request().
◆ poll()
|
inline |
在文件 GraphicsEntityInspection.cpp 第 365 行定义.
引用了 eve::FrameCaptureStore::begin(), begin, buffer, eve::FrameCaptureSnapshot::buffers, bytes, eve::FrameCaptureStore::collect(), eve::FrameCaptureStore::complete(), evidence, graphics, pending, eve::Queued, eve::ReadbackPending, record, result, eve::FrameCaptureStore::retire(), size, eve::FrameCaptureStore::snapshot(), state, status, eve::FrameCaptureStore::submitted(), token , 以及 eve::FrameCaptureBuffer::width.
◆ record()
|
inline |
◆ release()
|
inlineoverridevirtual |
Cancel/release; submitted resources survive until their fence completes.
在文件 GraphicsEntityInspection.cpp 第 106 行定义.
引用了 frozenGeometry, eve::FrameCaptureStore::release(), result, store , 以及 token.
◆ request()
|
inlineoverridevirtual |
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.
在文件 GraphicsEntityInspection.cpp 第 70 行定义.
引用了 eve::FrameCaptureRequest::attachments, eve::Cancelled, evidence, eve::Expired, eve::Failed, eve::Result< T >::failure(), eve::Final, found, freeze(), frozenFrame, frozenGeometry, graphics, eve::InvalidArgument, queued, eve::Released, eve::EntityViewSnapshot::request, eve::FrameCaptureStore::request(), request, eve::EntityViewRequest::skinPalettes, eve::FrameCaptureStore::snapshot(), store, submitted, eve::Result< T >::success() , 以及 token.
◆ snapshot()
|
inlineoverridevirtual |
Poll token without waiting; returns owning metadata and CPU lease only when ready.
在文件 GraphicsEntityInspection.cpp 第 97 行定义.
引用了 eve::EntityViewSnapshot::capture, evidence, eve::Result< T >::failure(), eve::NotFound, result, eve::FrameCaptureStore::snapshot(), state, store, eve::Result< T >::success() , 以及 token.
类成员变量说明
◆ color
| vkb::ColorTarget eve::graphics::vulkan::Graphics::InspectionService::color |
在文件 GraphicsEntityInspection.cpp 第 30 行定义.
被这些函数引用 clearGpu().
◆ depth
| vkb::DepthTarget eve::graphics::vulkan::Graphics::InspectionService::depth |
在文件 GraphicsEntityInspection.cpp 第 31 行定义.
被这些函数引用 clearGpu().
◆ evidence
| EntityViewSnapshot eve::graphics::vulkan::Graphics::InspectionService::evidence |
在文件 GraphicsEntityInspection.cpp 第 26 行定义.
被这些函数引用 freeze(), request() , 以及 snapshot().
◆ fence
| vk::Fence eve::graphics::vulkan::Graphics::InspectionService::fence {} |
在文件 GraphicsEntityInspection.cpp 第 39 行定义.
被这些函数引用 clearGpu().
◆ framebuffer
| vk::Framebuffer eve::graphics::vulkan::Graphics::InspectionService::framebuffer {} |
在文件 GraphicsEntityInspection.cpp 第 35 行定义.
被这些函数引用 clearGpu().
◆ frozenFrame
| uint64_t eve::graphics::vulkan::Graphics::InspectionService::frozenFrame = 0 |
在文件 GraphicsEntityInspection.cpp 第 29 行定义.
被这些函数引用 request().
◆ frozenGeometry
| std::vector<Primitive3DVertex> eve::graphics::vulkan::Graphics::InspectionService::frozenGeometry |
在文件 GraphicsEntityInspection.cpp 第 28 行定义.
◆ graphics
| Graphics& eve::graphics::vulkan::Graphics::InspectionService::graphics |
在文件 GraphicsEntityInspection.cpp 第 24 行定义.
被这些函数引用 clearGpu(), freeze() , 以及 request().
◆ layout
| vk::PipelineLayout eve::graphics::vulkan::Graphics::InspectionService::layout {} |
在文件 GraphicsEntityInspection.cpp 第 36 行定义.
被这些函数引用 clearGpu().
◆ pass
| vkb::BuiltRenderPass eve::graphics::vulkan::Graphics::InspectionService::pass |
在文件 GraphicsEntityInspection.cpp 第 34 行定义.
被这些函数引用 clearGpu().
◆ pipeline
| vk::Pipeline eve::graphics::vulkan::Graphics::InspectionService::pipeline {} |
在文件 GraphicsEntityInspection.cpp 第 37 行定义.
被这些函数引用 clearGpu().
◆ pool
| vk::CommandPool eve::graphics::vulkan::Graphics::InspectionService::pool {} |
在文件 GraphicsEntityInspection.cpp 第 38 行定义.
被这些函数引用 clearGpu().
◆ staging
| vkb::GenericBuffer eve::graphics::vulkan::Graphics::InspectionService::staging |
在文件 GraphicsEntityInspection.cpp 第 33 行定义.
被这些函数引用 clearGpu().
◆ store
| FrameCaptureStore eve::graphics::vulkan::Graphics::InspectionService::store |
在文件 GraphicsEntityInspection.cpp 第 25 行定义.
被这些函数引用 InspectionService(), release(), request() , 以及 snapshot().
◆ submitted
| bool eve::graphics::vulkan::Graphics::InspectionService::submitted = false |
在文件 GraphicsEntityInspection.cpp 第 40 行定义.
被这些函数引用 clearGpu() , 以及 request().
◆ token
| std::string eve::graphics::vulkan::Graphics::InspectionService::token |
在文件 GraphicsEntityInspection.cpp 第 27 行定义.
被这些函数引用 release(), request() , 以及 snapshot().
◆ vertices
| vkb::HostVertexBuffer eve::graphics::vulkan::Graphics::InspectionService::vertices |
在文件 GraphicsEntityInspection.cpp 第 32 行定义.
被这些函数引用 clearGpu().
该结构体的文档由以下文件生成:
- src/modules/graphics/vulkan/GraphicsEntityInspection.cpp
Public 成员函数 继承自