LampyEngine
 
Загрузка...
Поиск...
Не найдено
Класс VulkanRenderPass

Manages a Vulkan render pass, defining how framebuffer attachments are used during rendering. Подробнее...

#include <VulkanRenderPass.h>

Открытые члены

 VulkanRenderPass (VkDevice device, VkFormat imageFormat)
 Constructs a Vulkan render pass with the given device and image format.
 
 ~VulkanRenderPass ()
 Destroys the Vulkan render pass.
 
VkRenderPass getRenderPass () const
 Retrieves the Vulkan render pass handle.
 

Подробное описание

Manages a Vulkan render pass, defining how framebuffer attachments are used during rendering.

Конструктор(ы)

◆ VulkanRenderPass()

VulkanRenderPass::VulkanRenderPass ( VkDevice device,
VkFormat imageFormat )

Constructs a Vulkan render pass with the given device and image format.

Аргументы
deviceThe Vulkan logical device.
imageFormatThe format of the images used in the render pass.
Исключения
std::runtime_errorThrown if the render pass creation fails.

Методы

◆ getRenderPass()

VkRenderPass VulkanRenderPass::getRenderPass ( ) const
inline

Retrieves the Vulkan render pass handle.

Возвращает
Handle to the Vulkan render pass.

Объявления и описания членов классов находятся в файлах: