SimpleGL  1.1.0
A framework for platform independent rendering
Public Member Functions | List of all members
sgl::GraphicsPipeline Class Reference

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...
 

Detailed Description

This class wraps a Vulkan graphics pipeline.

Definition at line 27 of file graphics_pipeline.hpp.

Constructor & Destructor Documentation

sgl::GraphicsPipeline::GraphicsPipeline ( RenderPass renderPass,
std::vector< ShaderModule * >  shaderModules 
)

Creates a new graphics pipeline.

Parameters
renderPassThe render pass to use.
shaderModulesThe 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.

Member Function Documentation

VkDescriptorSetLayout sgl::GraphicsPipeline::getDescriptorSetLayout ( )

Returns the descriptor set layout of the graphics pipeline.

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.

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.

Returns
The pipeline layout of the graphics pipeline.

Definition at line 236 of file graphics_pipeline.cpp.


The documentation for this class was generated from the following files: