HatchitGraphics
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Hatchit::Graphics::Vulkan::VKRenderTarget Class Reference
Inheritance diagram for Hatchit::Graphics::Vulkan::VKRenderTarget:
Hatchit::Graphics::RenderTargetBase

Public Member Functions

bool Initialize (const Resource::RenderTargetHandle &handle, const VkDevice &device, const VkPhysicalDevice &gpu, const VKSwapChain *swapchain)
 
bool Blit (VkCommandBuffer commandBuffer, const Image_vk &image)
 
const VkFormat & GetVKColorFormat () const
 
const Texture_vk & GetVKTexture () const
 
const uint32_t & GetWidth () const
 
const uint32_t & GetHeight () const
 
const VkClearValue * GetClearColor () const
 
- Public Member Functions inherited from Hatchit::Graphics::RenderTargetBase
Resource::RenderTarget::BlendOp GetColorBlendOp () const
 Get the blend op to be used on the color channels of this render target. More...
 
Resource::RenderTarget::BlendOp GetAlphaBlendOp () const
 Get the blend op to be used on the alpha channel of this render target. More...
 

Protected Member Functions

bool setupTargetTexture ()
 

Protected Attributes

VkDevice m_device
 
VkPhysicalDevice m_gpu
 
VkClearValue * m_clearColor
 
VkFormat m_colorFormat
 
Texture_vk m_texture
 
- Protected Attributes inherited from Hatchit::Graphics::RenderTargetBase
uint32_t m_width
 
uint32_t m_height
 
Resource::RenderTarget::BlendOp m_colorBlendOp
 
Resource::RenderTarget::BlendOp m_alphaBlendOp
 

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