Hymn to Beauty
C++ 3D Engine
Video::VulkanRenderTargetAllocator Class Reference

Vulkan implementation of RenderTargetAllocator. More...

#include <VulkanRenderTargetAllocator.hpp>

Inheritance diagram for Video::VulkanRenderTargetAllocator:
Video::RenderTargetAllocator

Public Member Functions

 VulkanRenderTargetAllocator (VulkanRenderer &vulkanRenderer, VkDevice device, VkPhysicalDevice physicalDevice, RenderPassAllocator *renderPassAllocator)
 Create a new render target allocator. More...
 
 ~VulkanRenderTargetAllocator () final
 Destructor. More...
 
- Public Member Functions inherited from Video::RenderTargetAllocator
 RenderTargetAllocator (uint8_t frames, RenderPassAllocator *renderPassAllocator)
 Create a new render target allocator. More...
 
virtual ~RenderTargetAllocator ()
 Destructor. More...
 
virtual void BeginFrame ()
 Call at the beginning of each frame. More...
 
TextureCreateRenderTarget (const glm::uvec2 &size, Texture::Format format)
 Create a render target. More...
 
void FreeRenderTarget (Texture *renderTarget)
 Free a render target. More...
 

Detailed Description

Vulkan implementation of RenderTargetAllocator.

Constructor & Destructor Documentation

◆ VulkanRenderTargetAllocator()

Video::VulkanRenderTargetAllocator::VulkanRenderTargetAllocator ( VulkanRenderer vulkanRenderer,
VkDevice  device,
VkPhysicalDevice  physicalDevice,
RenderPassAllocator renderPassAllocator 
)

Create a new render target allocator.

Parameters
vulkanRendererThe Vulkan renderer.
deviceThe Vulkan device.
physicalDeviceThe physical device.
renderPassAllocatorRender pass allocator.

◆ ~VulkanRenderTargetAllocator()

Video::VulkanRenderTargetAllocator::~VulkanRenderTargetAllocator ( )
final

Destructor.


The documentation for this class was generated from the following files: