VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::vulkan::DescriptorSetGroup Class Reference

Regroups descriptor sets by frame, so if updates have to be done by group, they will be done on the group directly. More...

#include <DescriptorPool.h>

Public Member Functions

void GroupUpdate (const VkWriteDescriptorSet &write)
 
void GroupUpdateBuffer (UniformBuffer &buffer, uint32_t bufferOffset, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdateBuffer (StorageBuffer &buffer, uint32_t bufferOffset, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdateTexture (const VulkanTexture *texture, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdateSampler (const Sampler &sampler, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdateImageView (const ImageView &imageView, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdatePerFrame (int frameIndex, const VkWriteDescriptorSet &write)
 
void GroupUpdateBufferPerFrame (int frameIndex, UniformBuffer &buffer, uint32_t bufferOffset, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdateBufferPerFrame (int frameIndex, StorageBuffer &buffer, uint32_t bufferOffset, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdateTexturePerFrame (int frameIndex, const VulkanTexture *texture, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdateSamplerPerFrame (int frameIndex, const Sampler &sampler, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
void GroupUpdateImageViewPerFrame (int frameIndex, const ImageView &imageView, uint32_t binding, VkDescriptorType descriptorType, uint32_t descriptorCount, uint32_t arrayElement=0)
 
DescriptorSetoperator[] (const uint32_t index)
 
DescriptorSetGetCurrentSet ()
 

Detailed Description

Regroups descriptor sets by frame, so if updates have to be done by group, they will be done on the group directly.


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