![]() |
HoviTron Video Pipeline
|
Class that manages the graphic pipeline for the warping. More...
#include <VulkanPipelineWarping.h>
Public Member Functions | |
VulkanPipelineWarping (VulkanContext *context, VulkanRenderPass *renderPass, InputProvider *inputP, VulkanWrapper *wraps, int inputCamID) | |
void | init () |
void | cleanUp () |
void | createDescriptorSetLayout () |
void | update (std::span< InputProvider::StreamFrameInfo > infos, int view) |
![]() | |
virtual void | init ()=0 |
virtual void | cleanUp ()=0 |
void | cmdBufferBindBuffer (vk::CommandBuffer &cmdBuffer, int index, InputProvider::StreamFrameInfo &frameInfo, int view) |
void | updateAllBuffer (uint32_t currentImage, int view) |
void | updateBuffer (uint32_t currentImage, int view) |
virtual void | createDescriptorSetLayout ()=0 |
uint32_t | getIndexNumber () |
Additional Inherited Members | |
![]() | |
vk::Pipeline | pipeline |
vk::DescriptorSetLayout | descriptorSetLayout |
vk::PipelineLayout | pipelineLayout |
![]() | |
virtual void | createGraphicsPipeline ()=0 |
vk::ShaderModule | createShaderModule (const Shader &shader) |
void | createPipeline (std::vector< vk::PipelineShaderStageCreateInfo > &arr) |
![]() | |
VulkanContext * | context = nullptr |
VulkanRenderPass * | renderPass = nullptr |
VulkanWrapper * | wrapper = nullptr |
std::unique_ptr< BuffersController > | bufferController |
int | subPass = 0 |
int | inputId = 0 |
int | colorAttachmentNb = 0 |
bool | depthTest = true |
bool | depthWrite = true |
Class that manages the graphic pipeline for the warping.
Class that manages the graphic pipeline for the warping. It has the responsability to select the correct shader depending of camera id.
Definition at line 37 of file VulkanPipelineWarping.h.
VulkanPipelineWarping::VulkanPipelineWarping | ( | VulkanContext * | context, |
VulkanRenderPass * | renderPass, | ||
InputProvider * | inputP, | ||
VulkanWrapper * | wraps, | ||
int | inputCamID | ||
) |
Constructor
Definition at line 24 of file VulkanPipelineWarping.cpp.
|
virtual |
Clean up
Implements VulkanPipelineAbsract.
Definition at line 64 of file VulkanPipelineWarping.cpp.
|
virtual |
Create the descriptor set layout
Implements VulkanPipelineAbsract.
Definition at line 75 of file VulkanPipelineWarping.cpp.
|
virtual |
Initialization
Implements VulkanPipelineAbsract.
Definition at line 52 of file VulkanPipelineWarping.cpp.
void VulkanPipelineWarping::update | ( | std::span< InputProvider::StreamFrameInfo > | infos, |
int | view | ||
) |
Trigger the update in the buffers in BuffersControllerWarping object linked to this instance of VulkanPipelineWarping
Definition at line 128 of file VulkanPipelineWarping.cpp.