Class that represents a compute pipeline.
More...
#include <PipelineCompute.hpp>
|
| using | Stage = std::pair<uint32_t, uint32_t> |
| |
Class that represents a compute pipeline.
◆ PipelineCompute()
| PixelBullet::PipelineCompute::PipelineCompute |
( |
const VirtualPath & | shaderStage, |
|
|
std::vector< Shader::Define > | defines = {}, |
|
|
bool | pushDescriptors = false ) |
|
explicit |
Creates a new compute pipeline.
- Parameters
-
| shaderStage | The shader file that will be loaded. |
| defines | A list of defines added to the top of each shader. |
| pushDescriptors | If no actual descriptor sets are allocated but instead pushed. |
◆ CmdRender()
| void PixelBullet::PipelineCompute::CmdRender |
( |
const CommandBuffer & | commandBuffer, |
|
|
const glm::uvec2 & | extent ) const |
Dispatches the compute work.
- Parameters
-
| commandBuffer | The command buffer to record into. |
| extent | The extent (in workgroup dimensions) to cover. |
◆ GetDescriptorPool()
| const VkDescriptorPool & PixelBullet::PipelineCompute::GetDescriptorPool |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetDescriptorSetLayout()
| const VkDescriptorSetLayout & PixelBullet::PipelineCompute::GetDescriptorSetLayout |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetPipeline()
| const VkPipeline & PixelBullet::PipelineCompute::GetPipeline |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetPipelineBindPoint()
| const VkPipelineBindPoint & PixelBullet::PipelineCompute::GetPipelineBindPoint |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetPipelineLayout()
| const VkPipelineLayout & PixelBullet::PipelineCompute::GetPipelineLayout |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetShader()
| const Shader * PixelBullet::PipelineCompute::GetShader |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ IsPushDescriptors()
| bool PixelBullet::PipelineCompute::IsPushDescriptors |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files:
- engine/src/PixelBullet/Graphics/Pipelines/PipelineCompute.hpp
- engine/src/PixelBullet/Graphics/Pipelines/PipelineCompute.cpp