class
#include <VaultedVulkan/VV_RenderPass.hpp>
RenderPass A render pass represents a collection of attachments, subpasses, and dependencies between the subpasses, and describes how the attachments are used over the course of the subpasses.
Contents
This object represents a device created object on the host. As such ownership is tied to this host object. Due to this design, the object has no copy-construction allowed. Instead, default move constructor and assignment has been defined.
Base classes
- struct VV::V2::RenderPass
- A render pass represents a collection of attachments, subpasses, and dependencies between the subpasses, and describes how the attachments are used over the course of the subpasses.
Public types
-
using Parent = V2::
RenderPass
Constructors, destructors, conversion operators
- RenderPass()
- Default constructor.
- RenderPass(const LogicalDevice& _device)
- Logical device specified.
- RenderPass(const LogicalDevice& _device, const Memory::AllocationCallbacks& _allocator)
- Logical device and allocator specified.
- RenderPass(RenderPass&& _other) noexcept
- Performs a move operation to transfer ownership of the device object to this host object.
- ~RenderPass()
- Destroy a renderpass.
- 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 render pass.
- auto Create(const LogicalDevice& _device, const CreateInfo& _info) -> EResult
- Create a render pass (logical device specified).
- auto Create(const LogicalDevice& _device, const CreateInfo& _info, const Memory::AllocationCallbacks& _allocator) -> EResult
- Create a render pass (logical device and allocator specified).
- void Destroy()
- Destroy a render pass.
- auto operator==(const RenderPass& _other) -> bool
- Checks to see if its the same object by checking to see if its the same handle.
- auto operator=(RenderPass&& _other) -> RenderPass& 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