FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::vulkan::DescriptorSet Class Reference

This class abstract the vulkan descriptor set for easier use. More...

#include <C_descriptorSet.hpp>

Classes

struct  Descriptor
 This struct is used to describe a descriptor. More...
 

Public Member Functions

 DescriptorSet (VkDescriptorSet descriptorSet, DescriptorPool const *pool, VkDescriptorPool descriptorPool)
 
 DescriptorSet (DescriptorSet const &r)
 
 DescriptorSet (DescriptorSet &&r) noexcept
 
DescriptorSetoperator= (DescriptorSet const &r)
 
DescriptorSetoperator= (DescriptorSet &&r) noexcept
 
void destroy ()
 
VkDescriptorSet get () const
 
DescriptorPool const * getPool () const
 
Context const * getContext () const
 
void updateDescriptorSet (Descriptor const *descriptors, std::size_t descriptorSize)
 Update the descriptor set.
 

Detailed Description

This class abstract the vulkan descriptor set for easier use.

In order to instanciate a descriptor set, you need to allocate it from a DescriptorPool.

Member Function Documentation

◆ updateDescriptorSet()

void fge::vulkan::DescriptorSet::updateDescriptorSet ( Descriptor const * descriptors,
std::size_t descriptorSize )

Update the descriptor set.

This function update the descriptor set with the given descriptors.

Parameters
descriptorsAn array of descriptors
descriptorSizeThe size of the array

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