VV::V3::Pipeline::Layout class

Access to descriptor sets from a pipeline is accomplished through a pipeline layout.

Base classes

struct VV::V1::Pipeline::Layout
Access to descriptor sets from a pipeline is accomplished through a pipeline layout.

Public types

class DescriptorSet
Descriptors are grouped together into descriptor set objects.
using Parent = V2::Pipeline::Layout

Constructors, destructors, conversion operators

Layout()
Default constructor.
Layout(const LogicalDevice& _device)
Specify logical device.
Layout(const LogicalDevice& _device, const Memory::AllocationCallbacks& _allocator)
Specify logical device and allocator.
Layout(Layout&& _other) noexcept
Performs a move operation to transfer ownership of the device object to this host object.
~Layout()
Destroy the pipeline 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
Create a pipeline layout.
auto Create(const LogicalDevice& _device, const CreateInfo& _info) -> EResult
Create the pipeline layout (logical device specified).
auto Create(const LogicalDevice& _device, const CreateInfo& _info, const Memory::AllocationCallbacks& _allocator) -> EResult
Create the pipeline layout (logical device and allocator specified).
void Destroy()
Destroy the pipeline layout.
auto operator==(const Layout& _other) const -> bool
Checks to see if its the same object by checking to see if its the same handle.
auto operator=(Layout&& _other) -> Layout& 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