VOX
A little voxel engine
Loading...
Searching...
No Matches
Descriptor Class Reference

#include <Descriptor.hpp>

Collaboration diagram for Descriptor:
Collaboration graph

Classes

struct  CreateInfo
 

Public Member Functions

 Descriptor ()
 
 Descriptor (VkDevice device, const CreateInfo &info)
 
 Descriptor (const Descriptor &)=delete
 
Descriptoroperator= (const Descriptor &)=delete
 
 Descriptor (Descriptor &&other) noexcept
 
Descriptoroperator= (Descriptor &&other) noexcept
 
 ~Descriptor ()
 
void update (VkDevice device, VkImageView imageView, VkSampler sampler, VkImageLayout imageLayout)
 
void clear ()
 

Public Attributes

VkDescriptorSetLayout layout
 
VkDescriptorPool pool
 
std::vector< VkDescriptorSet > sets
 
VkDescriptorSet set
 

Constructor & Destructor Documentation

◆ Descriptor() [1/4]

Descriptor::Descriptor ( )

◆ Descriptor() [2/4]

Descriptor::Descriptor ( VkDevice  device,
const CreateInfo info 
)

◆ Descriptor() [3/4]

Descriptor::Descriptor ( const Descriptor )
delete

◆ Descriptor() [4/4]

Descriptor::Descriptor ( Descriptor &&  other)
noexcept

◆ ~Descriptor()

Descriptor::~Descriptor ( )

Member Function Documentation

◆ clear()

void Descriptor::clear ( )

◆ operator=() [1/2]

Descriptor & Descriptor::operator= ( const Descriptor )
delete

◆ operator=() [2/2]

Descriptor & Descriptor::operator= ( Descriptor &&  other)
noexcept

◆ update()

void Descriptor::update ( VkDevice  device,
VkImageView  imageView,
VkSampler  sampler,
VkImageLayout  imageLayout 
)

Member Data Documentation

◆ layout

VkDescriptorSetLayout Descriptor::layout

◆ pool

VkDescriptorPool Descriptor::pool

◆ set

VkDescriptorSet Descriptor::set

◆ sets

std::vector<VkDescriptorSet> Descriptor::sets

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