|
Hymn to Beauty
C++ 3D Engine
|
Vulkan implementation of GraphicsPipeline. More...
#include <VulkanGraphicsPipeline.hpp>
Public Member Functions | |
| VulkanGraphicsPipeline (const VulkanRenderer &renderer, VkDevice device, const ShaderProgram *shaderProgram, const Configuration &configuration, const VertexDescription *vertexDescription=nullptr) | |
| Create new Vulkan graphics pipeline. More... | |
| ~VulkanGraphicsPipeline () final | |
| Destructor. More... | |
| VkPipeline | GetPipeline (const VulkanRenderPass *renderPass) |
| Get the Vulkan pipeline for a given render pass. More... | |
| VkPipelineLayout | GetPipelineLayout () const |
| Get the Vulkan pipeline layout. More... | |
| const VulkanShaderProgram * | GetShaderProgram () const |
| Get the Vulkan shader program. More... | |
Public Member Functions inherited from Video::GraphicsPipeline | |
| GraphicsPipeline () | |
| Create a new graphics pipeline. More... | |
| virtual | ~GraphicsPipeline () |
| Destructor. More... | |
Vulkan implementation of GraphicsPipeline.
| Video::VulkanGraphicsPipeline::VulkanGraphicsPipeline | ( | const VulkanRenderer & | renderer, |
| VkDevice | device, | ||
| const ShaderProgram * | shaderProgram, | ||
| const Configuration & | configuration, | ||
| const VertexDescription * | vertexDescription = nullptr |
||
| ) |
Create new Vulkan graphics pipeline.
| renderer | The Vulkan renderer. |
| device | The Vulkan device. |
| shaderProgram | The shader program to use. |
| configuration | The configuration of the pipeline. |
| vertexDescription | The description of the vertex input to the pipeline. |
|
final |
Destructor.
| VkPipeline Video::VulkanGraphicsPipeline::GetPipeline | ( | const VulkanRenderPass * | renderPass | ) |
Get the Vulkan pipeline for a given render pass.
| renderPass | The RenderPass to be compatible with. |
| VkPipelineLayout Video::VulkanGraphicsPipeline::GetPipelineLayout | ( | ) | const |
Get the Vulkan pipeline layout.
| const VulkanShaderProgram * Video::VulkanGraphicsPipeline::GetShaderProgram | ( | ) | const |
Get the Vulkan shader program.