vOOlkan
An object oriented approach to Vulkan
|
A DescriptorSet is an object which holds the handles (pointers) to the bindings (variables) in a specific set. More...
#include <DescriptorSet.h>
Public Member Functions | |
DescriptorSet (const LogicalDevice &virtualGpu, const DescriptorSetPool &descriptorPool, const S &set) | |
Builds a DescriptorSet by following the information of the passed-in set. More... | |
const VkDescriptorSet & | operator+ () const |
const S & | getSet () const |
Returns the underlying set of this descriptor set. More... | |
A DescriptorSet is an object which holds the handles (pointers) to the bindings (variables) in a specific set.
If the layout of the set is { Data 40bytes, Data 6bytes, Data 10bytes }, then, by default, the descriptor set will hold 3 pointers into a UniformBuffer.
|
inline |
Builds a DescriptorSet by following the information of the passed-in set.
virtualGpu | The LogicalDevice. |
realGpu | The PhysicalDevice. |
descriptorPool | The pool from which allocate the buffers. |
set | The set from which to create this descriptor set. A DynamicSet has all the info about the layout of the bindings, such as their size and the buffers where they must be stored. |
|
inline |
Returns the underlying set of this descriptor set.
|
inline |