Class VulkanFrameBuffer#
Defined in File VulkanFrameBuffer.h
Class Documentation#
-
class VulkanFrameBuffer#
Public Functions
-
VulkanFrameBuffer(TRAP::Ref<VulkanDevice> device, const VulkanRenderer::FrameBufferDesc &desc)#
Constructor.
- Parameters:
device – Vulkan device.
desc – Framebuffer description.
-
~VulkanFrameBuffer()#
Destructor.
-
consteval VulkanFrameBuffer(const VulkanFrameBuffer&) noexcept = delete#
Copy constructor.
-
consteval VulkanFrameBuffer &operator=(const VulkanFrameBuffer&) noexcept = delete#
Copy assignment operator.
-
VulkanFrameBuffer(VulkanFrameBuffer&&) noexcept = default#
Move constructor.
-
VulkanFrameBuffer &operator=(VulkanFrameBuffer&&) noexcept = default#
Move assignment operator.
-
constexpr VkFramebuffer GetVkFrameBuffer() const noexcept#
Retrieve the VkFramebuffer handle.
- Returns:
VkFramebuffer handle.
-
constexpr u32 GetWidth() const noexcept#
Retrieve the width of the framebuffer.
- Returns:
Framebuffer width.
-
VulkanFrameBuffer(TRAP::Ref<VulkanDevice> device, const VulkanRenderer::FrameBufferDesc &desc)#