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

#include <VulkanRenderDefinition.h>

Collaboration diagram for VulkanRenderDefinition:
[legend]

Public Member Functions

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

Protected Attributes

ConstPointer< VulkanDevicem_device
 
Dictionary< uint04, VkRenderPass > m_render_pass_khr
 
Dictionary< uint04, VkRenderPass > m_render_pass_grab
 
VkFormat m_swap_chain_image_format
 
bool m_use_depth
 

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 files: