API Documentation
Loading...
Searching...
No Matches
VulkanRenderDefinition Class Reference

Creates specific information for performing a render pass within Vulkan. More...

#include <VulkanRenderDefinition.h>

Collaboration diagram for VulkanRenderDefinition:
[legend]

Public Member Functions

void cleanup ()
 
void createRenderPass (uint04 multisample, bool is_grab_image)
 
Buffer< VkAttachmentDescription, uint04, ObjectAllocator< true > > getAttachments (uint04 multisample_count, bool is_grab_image, uint08 format) const
 
VkFormat getSwapChainImageFormat (bool is_grab_image) const
 
VkRenderPass renderPass (uint04 multisample, bool is_grab_image) const
 
void setDevice (const ConstPointer< VulkanDevice > &instance)
 
void setSwapChainImageFormat (VkFormat format)
 
 VulkanRenderDefinition (const DynamicPointer< VulkanDevice > &instance)
 
 ~VulkanRenderDefinition ()
 

Protected Attributes

ConstPointer< VulkanDevicem_device
 
Dictionary< uint04, VkRenderPassm_render_pass_grab
 
Dictionary< uint04, VkRenderPassm_render_pass_khr
 
VkFormat m_swap_chain_image_format
 
bool m_use_depth
 

Detailed Description

Creates specific information for performing a render pass within Vulkan.


Constructor & Destructor Documentation

◆ VulkanRenderDefinition()

◆ ~VulkanRenderDefinition()

Member Function Documentation

◆ cleanup()

void cleanup ( )

◆ createRenderPass()

void createRenderPass ( uint04 multisample,
bool is_grab_image )

◆ getAttachments()

Buffer< VkAttachmentDescription, uint04, ObjectAllocator< true > > getAttachments ( uint04 multisample_count,
bool is_grab_image,
uint08 format ) const

◆ getSwapChainImageFormat()

VkFormat getSwapChainImageFormat ( bool is_grab_image) const

◆ renderPass()

VkRenderPass renderPass ( uint04 multisample,
bool is_grab_image ) const

◆ setDevice()

void setDevice ( const ConstPointer< VulkanDevice > & instance)

◆ setSwapChainImageFormat()

void setSwapChainImageFormat ( VkFormat format)
inline

Member Data Documentation

◆ m_device

ConstPointer<VulkanDevice> m_device
protected

◆ m_render_pass_grab

Dictionary<uint04, VkRenderPass> m_render_pass_grab
protected

◆ m_render_pass_khr

Dictionary<uint04, VkRenderPass> m_render_pass_khr
protected

◆ m_swap_chain_image_format

VkFormat m_swap_chain_image_format
protected

◆ m_use_depth

bool m_use_depth
protected

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