|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
A wrapper for vulkan pipeline resources. In this case a typesafe compute pipeline. More...
#include <PipelineMaterialPayload.h>
Public Member Functions | |
| ComputePipeline (VkDevice device, VkPipelineLayout layout, std::string shaderFilename, std::optional< const PipelineSpecializationData * > pSpecializationData) | |
| ~ComputePipeline () | |
| void | bind (VkCommandBuffer commandBuffer) |
| Binds this pipeline to an arbitrary command buffer. | |
| VkPipeline | get () const |
| Getter for the raw vulkan pipeline. | |
| void | cleanup () |
| Cleans up all the resource handles of this object. | |
Private Attributes | |
| VkDevice | device = VK_NULL_HANDLE |
| VkPipeline | pipeline = VK_NULL_HANDLE |
| Core::ComputeShader * | computeShader = nullptr |
| VkPipelineLayout | layout = VK_NULL_HANDLE |
A wrapper for vulkan pipeline resources. In this case a typesafe compute pipeline.
Definition at line 213 of file PipelineMaterialPayload.h.
| Engine::Rendering::ComputePipeline::ComputePipeline | ( | VkDevice | device, |
| VkPipelineLayout | layout, | ||
| std::string | shaderFilename, | ||
| std::optional< const PipelineSpecializationData * > | pSpecializationData ) |
| Engine::Rendering::ComputePipeline::~ComputePipeline | ( | ) |
| void Engine::Rendering::ComputePipeline::bind | ( | VkCommandBuffer | commandBuffer | ) |
Binds this pipeline to an arbitrary command buffer.
| commandBuffer | which command buffer to bind this pipeline to |
| void Engine::Rendering::ComputePipeline::cleanup | ( | ) |
Cleans up all the resource handles of this object.
|
inline |
Getter for the raw vulkan pipeline.
Definition at line 234 of file PipelineMaterialPayload.h.
References pipeline.
|
private |
Definition at line 243 of file PipelineMaterialPayload.h.
|
private |
Definition at line 241 of file PipelineMaterialPayload.h.
Referenced by ComputePipeline().
|
private |
Definition at line 244 of file PipelineMaterialPayload.h.
Referenced by ComputePipeline().
|
private |
Definition at line 242 of file PipelineMaterialPayload.h.
Referenced by get().