VV::V3::DescriptorSet class

Descriptors are grouped together into descriptor set objects. A descriptor set object is an opaque object containing storage for a set of descriptors, where the types and number of descriptors is defined by a descriptor set layout.

@detaisl This object only acts as a host interface to a given device object's handle. The descriptor pool manages the descriptor set's lifetime.

Base classes

struct VV::V1::DescriptorSet
Descriptors are grouped together into descriptor set objects. A descriptor set object is an opaque object containing storage for a set of descriptors, where the types and number of descriptors is defined by a descriptor set layout.

Public types

using Parent = V2::DescriptorSet

Constructors, destructors, conversion operators

DescriptorSet()
Default allocator.
DescriptorSet(Handle _handle, const LogicalDevice& _device)
Logical device and handle assigned.
operator Handle&()
Implicit conversion to give a reference to its handle.
operator const Handle&() const
Implicit conversion to give a readonly reference to its handle.
operator const Handle*() const
Implicit conversion to give a pointer to its handle.

Public functions

void Assign(const LogicalDevice& _device, Handle _handle)
Assigns the logical device and handle.
void Clear()
Clears the logical device and handle.
void Update(ui32 _descriptorWriteCount, const Write* _descriptorWrites, ui32 _descriptorCopyCount, const Copy* _descriptorCopies)
Once allocated, descriptor sets can be updated with a combination of write and copy operations.
auto operator==(const DescriptorSet& _other) const -> bool
Checks to see if its the same object by checking to see if its the same handle.

Protected variables

Handle handle
const LogicalDevice* device