载入中...
搜索中...
未找到
eve::graphics::vulkan::ComputePass类 参考
Minimal compute pipeline wrapper for in-frame compute sections. 更多...
#include <ComputePass.h>
Public 成员函数 | |
| ComputePass ()=default | |
| ComputePass (const ComputePass &)=delete | |
| ComputePass & | operator= (const ComputePass &)=delete |
| ComputePass (ComputePass &&o) noexcept | |
| ComputePass & | operator= (ComputePass &&o) noexcept |
| ~ComputePass () | |
| bool | create (vkb::Device &device, vk::PipelineLayout layout, const std::vector< uint32_t > &spv) |
| Create from embedded SPIR-V words; layout must outlive the pass. | |
| void | record (vk::CommandBuffer cb, uint32_t groupsX, uint32_t groupsY=1, uint32_t groupsZ=1) const |
| Record one dispatch (local size baked into the shader). | |
| vk::Pipeline | pipeline () const |
详细描述
Minimal compute pipeline wrapper for in-frame compute sections.
Stage 2 (GPU cull / HZB) records compute dispatches into the main frame command buffer between render passes; the gpgpu module stays CPU-side experimental and is not used here.
在文件 ComputePass.h 第 17 行定义.
构造及析构函数说明
◆ ComputePass() [1/3]
|
default |
◆ ComputePass() [2/3]
|
delete |
◆ ComputePass() [3/3]
|
inlinenoexcept |
在文件 ComputePass.h 第 22 行定义.
◆ ~ComputePass()
| eve::graphics::vulkan::ComputePass::~ComputePass | ( | ) |
在文件 ComputePass.cpp 第 16 行定义.
成员函数说明
◆ create()
| bool eve::graphics::vulkan::ComputePass::create | ( | vkb::Device & | device, |
| vk::PipelineLayout | layout, | ||
| const std::vector< uint32_t > & | spv | ||
| ) |
Create from embedded SPIR-V words; layout must outlive the pass.
在文件 ComputePass.cpp 第 20 行定义.
◆ operator=() [1/2]
|
noexcept |
在文件 ComputePass.cpp 第 5 行定义.
◆ operator=() [2/2]
|
delete |
◆ pipeline()
|
inline |
在文件 ComputePass.h 第 37 行定义.
◆ record()
| void eve::graphics::vulkan::ComputePass::record | ( | vk::CommandBuffer | cb, |
| uint32_t | groupsX, | ||
| uint32_t | groupsY = 1, |
||
| uint32_t | groupsZ = 1 |
||
| ) | const |
Record one dispatch (local size baked into the shader).
在文件 ComputePass.cpp 第 53 行定义.
被这些函数引用 eve::graphics::vulkan::Graphics::gpuDrivenCullEmit().
该类的文档由以下文件生成:
- src/modules/graphics/vulkan/ComputePass.h
- src/modules/graphics/vulkan/ComputePass.cpp