Class VulkanRenderTarget#

Inheritance Relationships#

Base Type#

Class Documentation#

class VulkanRenderTarget : public TRAP::Graphics::RenderTarget#

Public Functions

explicit VulkanRenderTarget(const RendererAPI::RenderTargetDesc &desc)#

Constructor.

Parameters:

desc – Render target description.

~VulkanRenderTarget() override#

Destructor.

consteval VulkanRenderTarget(const VulkanRenderTarget&) = delete#

Copy constructor.

consteval VulkanRenderTarget &operator=(const VulkanRenderTarget&) = delete#

Copy assignment operator.

VulkanRenderTarget(VulkanRenderTarget&&) noexcept = default#

Move constructor.

VulkanRenderTarget &operator=(VulkanRenderTarget&&) noexcept = default#

Move assignment operator.

constexpr VkImageView GetVkImageView() const noexcept#

Retrieve the render target’s Vulkan image view.

Returns:

Vulkan image view.

constexpr const std::vector<VkImageView> &GetVkImageViewSlices() const noexcept#

Retrieve the render target’s Vulkan image view slices.

Returns:

Vulkan image view slices.

constexpr u64 GetID() const noexcept#

Retrieve the render target’s ID.

Returns:

Render target ID.