Vookoo
Classes | Public Member Functions | List of all members
vku::DescriptorSetMaker Class Reference

A factory class for descriptor sets (A set of uniform bindings) More...

#include <vku.hpp>

Public Member Functions

void layout (vk::DescriptorSetLayout layout)
 Add another layout describing a descriptor set.
 
std::vector< vk::DescriptorSet > create (vk::Device device, vk::DescriptorPool descriptorPool) const
 
std::vector< vk::UniqueDescriptorSet > createUnique (vk::Device device, vk::DescriptorPool descriptorPool) const
 Allocate a vector of self-deleting descriptor sets.
 

Detailed Description

A factory class for descriptor sets (A set of uniform bindings)

Member Function Documentation

std::vector<vk::DescriptorSet> vku::DescriptorSetMaker::create ( vk::Device  device,
vk::DescriptorPool  descriptorPool 
) const
inline

Allocate a vector of non-self-deleting descriptor sets Note: descriptor sets get freed with the pool, so this is the better choice.


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