![]() |
HoviTron Video Pipeline
|
Control the data to be transmitted to the warping pipeline. More...
#include <BuffersControllerWarping.h>
Public Member Functions | |
BuffersControllerWarping (VulkanContext *context, VulkanRenderPass *renderpass, VulkanPipelineWarping *pipeline, InputProvider *input, VulkanWrapper *wraps, int inputView) | |
void | init () override |
void | cleanUp () override |
void | bindBuffers (vk::CommandBuffer &commandBuffer, int index, InputProvider::StreamFrameInfo &frameInfos, int view) override |
void | updateUniformBuffer (uint32_t currentImage, int view) override |
void | updateAllUniformBuffer (uint32_t currentImage, int view) override |
vk::VertexInputBindingDescription | getBindingDescription () override |
std::vector< vk::VertexInputAttributeDescription > | getAttributeDescription () override |
uint32_t | getIndiceCount () override |
void | update (std::span< InputProvider::StreamFrameInfo > infos, int view) override |
virtual void | init ()=0 |
virtual void | cleanUp ()=0 |
virtual void | bindBuffers (vk::CommandBuffer &commandBuffer, int index, InputProvider::StreamFrameInfo &frameInfos, int view)=0 |
virtual void | updateAllUniformBuffer (uint32_t currentImage, int view)=0 |
virtual void | updateUniformBuffer (uint32_t currentImage, int view)=0 |
virtual void | update (std::span< InputProvider::StreamFrameInfo > infos, int inputView)=0 |
virtual vk::VertexInputBindingDescription | getBindingDescription ()=0 |
virtual std::vector< vk::VertexInputAttributeDescription > | getAttributeDescription ()=0 |
virtual uint32_t | getIndiceCount ()=0 |
Static Public Member Functions | |
static void | updateSettings (const InputProvider::StreamFrameInfo &infos, int view, const InputProvider::StreamParameters &streamParams, VulkanWrapper *wrapper, RVScamExtrinsics &extrinsics, RvsSynParam ¶ms) |
Static Public Attributes | |
static std::vector< uint32_t > | indices |
Additional Inherited Members | |
![]() | |
virtual void | createVertexBuffer ()=0 |
virtual void | createIndexBuffer ()=0 |
virtual void | createUniformBuffer (int size)=0 |
virtual void | createDescriptorPool ()=0 |
virtual void | createDescriptorSets ()=0 |
void | copyBuffer (vk::Buffer srcBuffer, vk::Buffer dstBuffer, vk::DeviceSize size) |
![]() | |
int | inputView = 0 |
VulkanContext * | context = nullptr |
VulkanRenderPass * | renderpass = nullptr |
Control the data to be transmitted to the warping pipeline.
Class that manages ressources for the warping pipeline. From vertex+indices buffers to samplers and uniforms buffers. It is also in charge of the descriptor set.
Definition at line 145 of file BuffersControllerWarping.h.
BuffersControllerWarping::BuffersControllerWarping | ( | VulkanContext * | context, |
VulkanRenderPass * | renderpass, | ||
VulkanPipelineWarping * | pipeline, | ||
InputProvider * | input, | ||
VulkanWrapper * | wraps, | ||
int | inputView | ||
) |
Constructor
Definition at line 34 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Bind buffers
Implements BuffersController.
Definition at line 343 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Clean up ressources for the warping pipeline
Implements BuffersController.
Definition at line 295 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Return the vk::VertexInputAttributeDescription of the warping pipeline
Implements BuffersController.
Definition at line 411 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Return the vk::VertexInputBindingDescription of the warping pipeline
Implements BuffersController.
Definition at line 401 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Return the number of indices that need to be draw
Implements BuffersController.
Definition at line 423 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Init the required ressources for the warping pipeline
Implements BuffersController.
Definition at line 72 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Update the content of the structs with the informations givent by the input provider
Implements BuffersController.
Definition at line 549 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Update the content of all buffers
Implements BuffersController.
Definition at line 368 of file BuffersControllerWarping.cpp.
|
static |
Update the requested structrures with the provided information
Definition at line 452 of file BuffersControllerWarping.cpp.
|
overridevirtual |
Update the content of the buffers that were changed
Implements BuffersController.
Definition at line 363 of file BuffersControllerWarping.cpp.
|
inlinestatic |
list of the indices
Definition at line 167 of file BuffersControllerWarping.h.