1#ifndef NNGN_GRAPHICS_VULKAN_DESCRIPTOR_H
2#define NNGN_GRAPHICS_VULKAN_DESCRIPTOR_H
21 bool reset(
void)
const;
23 std::uint32_t max, std::span<const VkDescriptorPoolSize> sizes);
36 std::span<const VkDescriptorSet>
ids(
void)
const {
return this->
hs; }
38 VkDevice
dev, std::span<const VkDescriptorSetLayoutBinding> bindings);
50 std::vector<VkDescriptorSet>
hs = {};
51 std::vector<VkDescriptorType>
types = {};
Definition descriptor.h:14
bool reset(void) const
Definition descriptor.cpp:25
void destroy()
Definition descriptor.cpp:47
VkDescriptorPool h
Definition descriptor.h:27
VkDevice dev
Definition descriptor.h:26
bool recreate(std::uint32_t max, std::span< const VkDescriptorPoolSize > sizes)
Definition descriptor.cpp:32
Definition descriptor.h:30
VkDescriptorSetLayout layout(void) const
Definition descriptor.h:35
void destroy()
Destroys resources associated with the sets.
Definition descriptor.cpp:93
VkDevice dev
Definition descriptor.h:47
VkDescriptorSetLayout m_layout
Definition descriptor.h:49
std::vector< VkDescriptorSet > hs
Definition descriptor.h:50
std::span< const VkDescriptorSet > ids(void) const
Definition descriptor.h:36
reset
Definition conway.lua:26
init
Definition img_common.lua:34
COMMAND_BUFFER DESCRIPTOR_POOL VkDescriptorSetLayout
Definition types.h:72
COMMAND_BUFFER VkDescriptorPool
Definition types.h:72
#define NNGN_MOVE_ONLY(x)
Definition utils.h:39