16VK2DDescCon
vk2dDescConCreate(VK2DLogicalDevice dev, VkDescriptorSetLayout layout, uint32_t buffer, uint32_t sampler, uint32_t storageBuffer);
VK2DDescCon vk2dDescConCreate(VK2DLogicalDevice dev, VkDescriptorSetLayout layout, uint32_t buffer, uint32_t sampler, uint32_t storageBuffer)
Creates an empty descriptor controller.
void vk2dDescConUpdateAfterBind(VK2DDescCon descCon)
Tells the desc con to allocate pools with update after bind.
VkDescriptorSet vk2dDescConGetSamplerBufferSet(VK2DDescCon descCon, VK2DTexture tex, VK2DBuffer buffer)
Creates, updates, and returns a descriptor set ready to be bound to a command buffer.
VkDescriptorSet vk2dDescConGetSamplerSet(VK2DDescCon descCon, VK2DTexture tex)
Creates, updates, and returns a descriptor set ready to be bound to a command buffer.
VkDescriptorSet vk2dDescConGetSet(VK2DDescCon descCon)
Creates, updates, and returns a blank descriptor set.
void vk2dDescConFree(VK2DDescCon descCon)
Frees a descriptor controller from memory.
VkDescriptorSet vk2dDescConGetBufferSet(VK2DDescCon descCon, VK2DBuffer buffer)
Creates, updates, and returns a descriptor set ready to be bound to a command buffer.
void vk2dDescConReset(VK2DDescCon descCon)
Resets all pools in a descriptor controller (basically deletes all active sets so new ones can be all...
Forward declares struct typedefs.