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

Manages a Vulkan graphics pipeline, including shaders, input layouts, and rasterization settings. Подробнее...

#include <VulkanGraphicsPipeline.h>

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

 VulkanGraphicsPipeline (VkDevice device, VkRenderPass renderPass, const std::string &vertPath, const std::string &fragPath)
 Constructs a Vulkan graphics pipeline.
 
 ~VulkanGraphicsPipeline ()
 Destroys the Vulkan graphics pipeline and associated resources.
 
VkPipeline getPipeline () const
 Retrieves the Vulkan pipeline handle.
 
VkPipelineLayout getPipelineLayout () const
 Retrieves the Vulkan pipeline layout handle.
 
uint32_t getUniqueID ()
 Retrieves the unique ID assigned to this pipeline.
 

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

Manages a Vulkan graphics pipeline, including shaders, input layouts, and rasterization settings.

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

◆ VulkanGraphicsPipeline()

VulkanGraphicsPipeline::VulkanGraphicsPipeline ( VkDevice device,
VkRenderPass renderPass,
const std::string & vertPath,
const std::string & fragPath )

Constructs a Vulkan graphics pipeline.

Аргументы
deviceThe Vulkan logical device.
renderPassThe Vulkan render pass.
vertPathPath to the vertex shader file.
fragPathPath to the fragment shader file.
Исключения
std::runtime_errorThrown if pipeline creation fails.

Методы

◆ getPipeline()

VkPipeline VulkanGraphicsPipeline::getPipeline ( ) const
inline

Retrieves the Vulkan pipeline handle.

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

◆ getPipelineLayout()

VkPipelineLayout VulkanGraphicsPipeline::getPipelineLayout ( ) const
inline

Retrieves the Vulkan pipeline layout handle.

Возвращает
Handle to the Vulkan pipeline layout.

◆ getUniqueID()

uint32_t VulkanGraphicsPipeline::getUniqueID ( )
inline

Retrieves the unique ID assigned to this pipeline.

Возвращает
Unique ID of the pipeline.

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