![]() |
FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
|
This struct is used to describe a descriptor. More...
#include <C_descriptorSet.hpp>
Public Types | |
enum class | BufferTypes { STATIC , DYNAMIC , STORAGE } |
Public Member Functions | |
Descriptor (UniformBuffer const &uniformBuffer, uint32_t binding, BufferTypes type=BufferTypes::STATIC, VkDeviceSize range=0) | |
Descriptor (TextureImage const &textureImage, uint32_t binding) | |
Public Attributes | |
std::variant< VkDescriptorBufferInfo, VkDescriptorImageInfo > | _data |
uint32_t | _binding {0} |
BufferTypes | _bufferType {} |
uint32_t | _dstArrayElement {0} |
This struct is used to describe a descriptor.
Every descriptor must have a binding. The binding is used to link the descriptor to the descriptor set layout.