![]() |
FastEngine 0.9.4
A multiplayer oriented 2D engine made with Vulkan.
|
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 | |
| DescriptorSet & | operator= (DescriptorSet const &r) |
| DescriptorSet & | operator= (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. | |
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.
| 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.
| descriptors | An array of descriptors |
| descriptorSize | The size of the array |