![]() |
HoviTron Video Pipeline
|
Class that manages ressources for the blending pipeline. More...
#include <BuffersControllerBlending.h>
Public Member Functions | |
BufferControllerBlending (VulkanContext *context, VulkanRenderPass *renderpass, VulkanPipelineBlending *pipeline, VulkanWrapper *wraps, int inputView) | |
void | init () override |
void | bindBuffers (vk::CommandBuffer &commandBuffer, int index, InputProvider::StreamFrameInfo &frameInfo, int view) override |
void | updateAllUniformBuffer (uint32_t currentImage, int view) override |
void | updateUniformBuffer (uint32_t currentImage, int view) override |
void | cleanUp () override |
vk::VertexInputBindingDescription | getBindingDescription () override |
std::vector< vk::VertexInputAttributeDescription > | getAttributeDescription () override |
void | update (std::span< InputProvider::StreamFrameInfo > infos, int view) override |
uint32_t | getIndiceCount () 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 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 |
Class that manages ressources for the blending pipeline.
Class that manages ressources for the blending pipeline. From vertex+indices buffers to samplers and uniforms buffers. It is also in charge of the descriptor set.
Definition at line 51 of file BuffersControllerBlending.h.
BufferControllerBlending::BufferControllerBlending | ( | VulkanContext * | context, |
VulkanRenderPass * | renderpass, | ||
VulkanPipelineBlending * | pipeline, | ||
VulkanWrapper * | wraps, | ||
int | inputView | ||
) |
Constructor
Definition at line 25 of file BuffersControllerBlending.cpp.
|
overridevirtual |
Bind buffers for the uniform
Implements BuffersController.
Definition at line 259 of file BuffersControllerBlending.cpp.
|
overridevirtual |
CleanUp ressources
Implements BuffersController.
Definition at line 292 of file BuffersControllerBlending.cpp.
|
overridevirtual |
Return the attribute description (vk::VertexInputAttributeDescription) for the blending pipeline
Implements BuffersController.
Definition at line 320 of file BuffersControllerBlending.cpp.
|
overridevirtual |
Return the vk::VertexInputBindingDescription for the blending pipeline
Implements BuffersController.
Definition at line 310 of file BuffersControllerBlending.cpp.
|
overridevirtual |
Return the number of indices in the indices buffer
Implements BuffersController.
Definition at line 358 of file BuffersControllerBlending.cpp.
|
overridevirtual |
Initialize ressources
Implements BuffersController.
Definition at line 36 of file BuffersControllerBlending.cpp.
|
overridevirtual |
Update the struct using the information given by the input provider
Implements BuffersController.
Definition at line 332 of file BuffersControllerBlending.cpp.
|
overridevirtual |
Send all the uniform to GPU
Implements BuffersController.
Definition at line 274 of file BuffersControllerBlending.cpp.
|
overridevirtual |
Does nothing here since this values are not changing from one frame to another
Implements BuffersController.
Definition at line 270 of file BuffersControllerBlending.cpp.
|
inlinestatic |
List of indices
Definition at line 74 of file BuffersControllerBlending.h.