Lugdunum  0.1.0
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lug::Graphics::Vulkan::API::GraphicsPipeline Class Reference

#include <GraphicsPipeline.hpp>

Collaboration diagram for lug::Graphics::Vulkan::API::GraphicsPipeline:
[legend]

Public Member Functions

 GraphicsPipeline ()=default
 
 GraphicsPipeline (const GraphicsPipeline &)=delete
 
 GraphicsPipeline (GraphicsPipeline &&pipeline)
 
GraphicsPipelineoperator= (const GraphicsPipeline &)=delete
 
GraphicsPipelineoperator= (GraphicsPipeline &&pipeline)
 
 ~GraphicsPipeline ()
 
 operator VkPipeline () const
 
void destroy ()
 
const RenderPassgetRenderPass () const
 
const PipelineLayoutgetLayout () const
 

Private Member Functions

 GraphicsPipeline (VkPipeline pipeline, const Device *device, RenderPass renderPass, PipelineLayout pipelineLayout)
 

Private Attributes

VkPipeline _pipeline {VK_NULL_HANDLE}
 
const Device_device
 
RenderPass _renderPass
 
PipelineLayout _pipelineLayout
 

Friends

class Builder::GraphicsPipeline
 

Detailed Description

Definition at line 17 of file GraphicsPipeline.hpp.

Constructor & Destructor Documentation

◆ GraphicsPipeline() [1/4]

lug::Graphics::Vulkan::API::GraphicsPipeline::GraphicsPipeline ( )
default

◆ GraphicsPipeline() [2/4]

lug::Graphics::Vulkan::API::GraphicsPipeline::GraphicsPipeline ( const GraphicsPipeline )
delete

◆ GraphicsPipeline() [3/4]

lug::Graphics::Vulkan::API::GraphicsPipeline::GraphicsPipeline ( GraphicsPipeline &&  pipeline)

Definition at line 13 of file GraphicsPipeline.cpp.

◆ ~GraphicsPipeline()

lug::Graphics::Vulkan::API::GraphicsPipeline::~GraphicsPipeline ( )

Definition at line 35 of file GraphicsPipeline.cpp.

◆ GraphicsPipeline() [4/4]

lug::Graphics::Vulkan::API::GraphicsPipeline::GraphicsPipeline ( VkPipeline  pipeline,
const Device device,
RenderPass  renderPass,
PipelineLayout  pipelineLayout 
)
explicitprivate

Definition at line 10 of file GraphicsPipeline.cpp.

Member Function Documentation

◆ operator=() [1/2]

GraphicsPipeline& lug::Graphics::Vulkan::API::GraphicsPipeline::operator= ( const GraphicsPipeline )
delete

◆ operator=() [2/2]

GraphicsPipeline & lug::Graphics::Vulkan::API::GraphicsPipeline::operator= ( GraphicsPipeline &&  pipeline)

Definition at line 22 of file GraphicsPipeline.cpp.

◆ operator VkPipeline()

lug::Graphics::Vulkan::API::GraphicsPipeline::operator VkPipeline ( ) const
inlineexplicit

Definition at line 31 of file GraphicsPipeline.hpp.

◆ destroy()

void lug::Graphics::Vulkan::API::GraphicsPipeline::destroy ( )

Definition at line 39 of file GraphicsPipeline.cpp.

◆ getRenderPass()

const RenderPass * lug::Graphics::Vulkan::API::GraphicsPipeline::getRenderPass ( ) const

Definition at line 49 of file GraphicsPipeline.cpp.

◆ getLayout()

const PipelineLayout * lug::Graphics::Vulkan::API::GraphicsPipeline::getLayout ( ) const

Definition at line 53 of file GraphicsPipeline.cpp.

Friends And Related Function Documentation

◆ Builder::GraphicsPipeline

friend class Builder::GraphicsPipeline
friend

Definition at line 18 of file GraphicsPipeline.hpp.

Member Data Documentation

◆ _pipeline

VkPipeline lug::Graphics::Vulkan::API::GraphicsPipeline::_pipeline {VK_NULL_HANDLE}
private

Definition at line 44 of file GraphicsPipeline.hpp.

◆ _device

const Device* lug::Graphics::Vulkan::API::GraphicsPipeline::_device
private

Definition at line 45 of file GraphicsPipeline.hpp.

◆ _renderPass

RenderPass lug::Graphics::Vulkan::API::GraphicsPipeline::_renderPass
private

Definition at line 47 of file GraphicsPipeline.hpp.

◆ _pipelineLayout

PipelineLayout lug::Graphics::Vulkan::API::GraphicsPipeline::_pipelineLayout
private

Definition at line 48 of file GraphicsPipeline.hpp.


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