Class VulkanRenderTarget#
Defined in File VulkanRenderTarget.h
Inheritance Relationships#
Base Type#
public TRAP::Graphics::RenderTarget
(Class RenderTarget)
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.
-
explicit VulkanRenderTarget(const RendererAPI::RenderTargetDesc &desc)#