class
#include <VaultedVulkan/VV_Pipelines.hpp>
DescriptorSet Descriptors are grouped together into descriptor set objects.
Contents
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.
Base classes
Public types
Constructors, destructors, conversion operators
- DescriptorSet()
- Default constructor.
- DescriptorSet(const LogicalDevice& _device)
- Specify the logical device.
-
DescriptorSet(const LogicalDevice& _device,
const Memory::
AllocationCallbacks& _allocator) - Specify the logical device and allocator.
- DescriptorSet(DescriptorSet&& _other) noexcept
- Performs a move operation to transfer ownership of the device object to this host object.
- ~DescriptorSet()
- Destroy the descriptor set layout if the handle is null.
- 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
- auto Create(const CreateInfo& _info) -> EResult
- Assign the create info.
- auto Create(const LogicalDevice& _device, const CreateInfo& _info) -> EResult
- Create the descriptor set layout.
-
auto Create(const LogicalDevice& _device,
const CreateInfo& _info,
const Memory::
AllocationCallbacks& _allocator) -> EResult - Create the descriptor set layout.
- void Destroy()
- Destroy the descriptor set layout.
- auto GetSupport() const -> const Support&
- Provides the layout support.
- auto operator==(const DescriptorSet& _other) const -> bool
- Checks to see if its the same object by checking to see if its the same handle.
- auto operator=(DescriptorSet&& _other) -> DescriptorSet& noexcept
- Performs a move assignment operation to transfer ownership of the device object to this host object.
Protected variables
- Handle handle
-
const Memory::
AllocationCallbacks* allocator - const LogicalDevice* device
- Support support
Function documentation
EResult VV:: V3:: Pipeline:: Layout:: DescriptorSet:: Create(const CreateInfo& _info)
Assign the create info.
Assign the device and create info.
Assign the logical device, create info, and allocator.
Create the descriptor set layout.