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

#include <ShaderModule.hpp>

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

Public Member Functions

 ShaderModule ()=default
 
 ShaderModule (const ShaderModule &)=delete
 
 ShaderModule (ShaderModule &&shaderModule)
 
ShaderModuleoperator= (const ShaderModule &)=delete
 
ShaderModuleoperator= (ShaderModule &&shaderModule)
 
 ~ShaderModule ()
 
 operator VkShaderModule () const
 
void destroy ()
 

Private Member Functions

 ShaderModule (VkShaderModule shaderModule, const Device *device)
 

Private Attributes

VkShaderModule _shaderModule {VK_NULL_HANDLE}
 
const Device_device {nullptr}
 

Friends

class Builder::ShaderModule
 

Detailed Description

Definition at line 17 of file ShaderModule.hpp.

Constructor & Destructor Documentation

◆ ShaderModule() [1/4]

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

◆ ShaderModule() [2/4]

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

◆ ShaderModule() [3/4]

lug::Graphics::Vulkan::API::ShaderModule::ShaderModule ( ShaderModule &&  shaderModule)

Definition at line 12 of file ShaderModule.cpp.

◆ ~ShaderModule()

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

Definition at line 30 of file ShaderModule.cpp.

◆ ShaderModule() [4/4]

lug::Graphics::Vulkan::API::ShaderModule::ShaderModule ( VkShaderModule  shaderModule,
const Device device 
)
explicitprivate

Definition at line 10 of file ShaderModule.cpp.

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

ShaderModule & lug::Graphics::Vulkan::API::ShaderModule::operator= ( ShaderModule &&  shaderModule)

Definition at line 19 of file ShaderModule.cpp.

◆ operator VkShaderModule()

lug::Graphics::Vulkan::API::ShaderModule::operator VkShaderModule ( ) const
inlineexplicit

Definition at line 31 of file ShaderModule.hpp.

◆ destroy()

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

Definition at line 34 of file ShaderModule.cpp.

Friends And Related Function Documentation

◆ Builder::ShaderModule

friend class Builder::ShaderModule
friend

Definition at line 18 of file ShaderModule.hpp.

Member Data Documentation

◆ _shaderModule

VkShaderModule lug::Graphics::Vulkan::API::ShaderModule::_shaderModule {VK_NULL_HANDLE}
private

Definition at line 41 of file ShaderModule.hpp.

◆ _device

const Device* lug::Graphics::Vulkan::API::ShaderModule::_device {nullptr}
private

Definition at line 42 of file ShaderModule.hpp.


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