![]() |
HoviTron Video Pipeline
|
An abstract class that contains a common base of code for the class that inherit from it. More...
#include <VulkanRenderPassAbstract.h>
Public Member Functions | |
VulkanRenderPassAbstract (VulkanContext *context, VulkanWrapper *wraps) | |
virtual void | init (InputProvider *inputProvider) |
virtual void | cleanUp () |
virtual void | updateBuffer (uint32_t currentImage, bool initAll, std::span< InputProvider::StreamFrameInfo > infos, int view) |
virtual void | recordCommandBuffer (vk::CommandBuffer &commandBuffer, int i, std::span< InputProvider::StreamFrameInfo > frameInfos, int view) |
virtual bool | isInitialized () |
virtual vk::Image | getImageToBlit (int imageIndex)=0 |
virtual std::vector< vk::Format > | getSupportedDepthFormats () const =0 |
Data Fields | |
std::vector< ImageStruct > | depthImages |
vk::Extent2D | renderingExtent |
int | inputImage = 1 |
vk::CommandPool | commandPoolBuffer = nullptr |
vk::Viewport | viewport |
vk::Rect2D | scissor |
Protected Member Functions | |
void | createCommandPoolForBuffer () |
void | createDepthResources () |
Protected Attributes | |
bool | initialized = false |
InputProvider * | input = nullptr |
VulkanContext * | context = nullptr |
VulkanWrapper * | wrapper = nullptr |
vk::Format | depthFormat |
An abstract class that contains a common base of code for the class that inherit from it.
An abstract class that contains a common base of code to encapsulate vk::RenderPass objects.
Definition at line 73 of file VulkanRenderPassAbstract.h.
VulkanRenderPassAbstract::VulkanRenderPassAbstract | ( | VulkanContext * | context, |
VulkanWrapper * | wraps | ||
) |
Constructor
Definition at line 41 of file VulkanRenderPassAbstract.cpp.
|
virtual |
Clean up
Reimplemented in VulkanRenderPass.
Definition at line 67 of file VulkanRenderPassAbstract.cpp.
|
protected |
Create the command pool for the buffer
Definition at line 115 of file VulkanRenderPassAbstract.cpp.
|
protected |
Create depth ressource
Definition at line 89 of file VulkanRenderPassAbstract.cpp.
|
pure virtual |
Return the source image for the blit operation (the image that contains the result of this renderpass)
Implemented in VulkanRenderPass.
|
pure virtual |
Return the list of depth format supported by the application
Implemented in VulkanRenderPass.
|
virtual |
Init the ressources
Reimplemented in VulkanRenderPass.
Definition at line 47 of file VulkanRenderPassAbstract.cpp.
|
virtual |
Return true if it is initialized
Reimplemented in VulkanRenderPass.
Definition at line 85 of file VulkanRenderPassAbstract.cpp.
|
virtual |
Record command buffer with all instruction for this renderpass
Reimplemented in VulkanRenderPass.
Definition at line 81 of file VulkanRenderPassAbstract.cpp.
|
virtual |
Clean up
Reimplemented in VulkanRenderPass.
Definition at line 77 of file VulkanRenderPassAbstract.cpp.
vk::CommandPool VulkanRenderPassAbstract::commandPoolBuffer = nullptr |
Command pool for buffers
Definition at line 101 of file VulkanRenderPassAbstract.h.
|
protected |
Pointer to context
Definition at line 114 of file VulkanRenderPassAbstract.h.
|
protected |
Depth format selected
Definition at line 119 of file VulkanRenderPassAbstract.h.
std::vector<ImageStruct> VulkanRenderPassAbstract::depthImages |
Depth images
Definition at line 93 of file VulkanRenderPassAbstract.h.
|
protected |
True if initialized
Definition at line 109 of file VulkanRenderPassAbstract.h.
|
protected |
pointer to the input provider
Definition at line 111 of file VulkanRenderPassAbstract.h.
int VulkanRenderPassAbstract::inputImage = 1 |
Number of input pair of image (color +depth) for the synthesis process.
Definition at line 98 of file VulkanRenderPassAbstract.h.
vk::Extent2D VulkanRenderPassAbstract::renderingExtent |
The 2D extent used by this renderpass
Definition at line 96 of file VulkanRenderPassAbstract.h.
vk::Rect2D VulkanRenderPassAbstract::scissor |
Scissor
Definition at line 106 of file VulkanRenderPassAbstract.h.
vk::Viewport VulkanRenderPassAbstract::viewport |
Viewport of the application
Definition at line 104 of file VulkanRenderPassAbstract.h.
|
protected |
Pointer to wrapper
Definition at line 116 of file VulkanRenderPassAbstract.h.