![]() |
HoviTron Video Pipeline
|
Struct that aims to facilitate the creation of image, their view and memory. More...
#include <VulkanRenderPassAbstract.h>
Public Member Functions | |
void | destroy (vk::Device &device) |
void | createStruct (VulkanContext *context, vk::Extent2D &renderingExtent, vk::Format format, vk::ImageUsageFlags imageUsage, vk::MemoryPropertyFlags memoryProperty, vk::CommandPool &commandPool, vk::ImageLayout finalLayout, vk::ImageAspectFlags imageAspect=vk::ImageAspectFlagBits::eColor) |
Data Fields | |
vk::Image | image |
vk::DeviceMemory | memory |
vk::ImageView | imageView |
std::string | name |
Struct that aims to facilitate the creation of image, their view and memory.
Struct that aims to facilitate the creation of image, their view and memory.
Definition at line 40 of file VulkanRenderPassAbstract.h.
|
inline |
Create the image view, the image and the associated memory and put the image in the layout requested
Definition at line 59 of file VulkanRenderPassAbstract.h.
|
inline |
Destroy the image view, the image and their associated memory
Definition at line 53 of file VulkanRenderPassAbstract.h.
vk::Image ImageStruct::image |
The vk::Image
Definition at line 42 of file VulkanRenderPassAbstract.h.
vk::ImageView ImageStruct::imageView |
The view associated to the image
Definition at line 46 of file VulkanRenderPassAbstract.h.
vk::DeviceMemory ImageStruct::memory |
The memory associated to the image
Definition at line 44 of file VulkanRenderPassAbstract.h.
std::string ImageStruct::name |
Definition at line 50 of file VulkanRenderPassAbstract.h.