SimpleGL
1.1.0
A framework for platform independent rendering
|
This class wraps a Vulkan graphics pipeline. More...
#include <graphics_pipeline.hpp>
Public Member Functions | |
GraphicsPipeline (RenderPass *renderPass, std::vector< ShaderModule * > shaderModules) | |
Creates a new graphics pipeline. More... | |
~GraphicsPipeline (void) | |
Destroys the graphics pipeline. More... | |
VkPipeline | getHandle () |
Returns the handle of the graphics pipeline. More... | |
VkDescriptorSetLayout | getDescriptorSetLayout () |
Returns the descriptor set layout of the graphics pipeline. More... | |
VkPipelineLayout | getPipelineLayout () |
Returns the pipeline layout of the graphics pipeline. More... | |
This class wraps a Vulkan graphics pipeline.
Definition at line 27 of file graphics_pipeline.hpp.
sgl::GraphicsPipeline::GraphicsPipeline | ( | RenderPass * | renderPass, |
std::vector< ShaderModule * > | shaderModules | ||
) |
Creates a new graphics pipeline.
renderPass | The render pass to use. |
shaderModules | The shader modules to use. |
Definition at line 22 of file graphics_pipeline.cpp.
sgl::GraphicsPipeline::~GraphicsPipeline | ( | void | ) |
Destroys the graphics pipeline.
Definition at line 215 of file graphics_pipeline.cpp.
VkDescriptorSetLayout sgl::GraphicsPipeline::getDescriptorSetLayout | ( | ) |
Returns the descriptor set layout of the graphics pipeline.
Definition at line 232 of file graphics_pipeline.cpp.
VkPipeline sgl::GraphicsPipeline::getHandle | ( | ) |
Returns the handle of the graphics pipeline.
Definition at line 228 of file graphics_pipeline.cpp.
VkPipelineLayout sgl::GraphicsPipeline::getPipelineLayout | ( | ) |
Returns the pipeline layout of the graphics pipeline.
Definition at line 236 of file graphics_pipeline.cpp.