HatchitGraphics
Public Member Functions | List of all members
Hatchit::Graphics::Vulkan::VKSwapChain Class Reference
Inheritance diagram for Hatchit::Graphics::Vulkan::VKSwapChain:
Hatchit::Graphics::SwapChain

Public Member Functions

 VKSwapChain (const RendererParams &rendererParams, VKDevice *device, VKQueue *queue)
 
void VClear (float *color) override
 
bool VInitialize (uint32_t width, uint32_t height) override
 
void VResize (uint32_t width, uint32_t height) override
 
void VExecute (std::vector< RenderPassHandle > renderPasses) override
 
void VSetInput (RenderPassHandle handle) override
 
void VPresent () override
 
const VkCommandBuffer & GetVKCurrentCommand () const
 
const VkSurfaceKHR & GetVKSurface () const
 
const uint32_t & GetVKGraphicsQueueIndex () const
 
const VkClearValue & GetVKClearColor () const
 
bool BuildSwapchainCommands (VkClearValue clearColor)
 
VkResult VKGetNextImage (VkSemaphore presentSemaphore)
 
bool VKPostPresentBarrier (const VkQueue &queue)
 
bool VKPrePresentBarrier (const VkQueue &queue)
 
VkResult VKPresent (const VkQueue &queue, const VkSemaphore &renderSemaphore)
 
void VKSetIncomingRenderPass (VKRenderPass *renderPass)
 
- Public Member Functions inherited from Hatchit::Graphics::SwapChain
uint32_t GetWidth () const
 Get the width of this swapchain's "screen". More...
 
uint32_t GetHeight () const
 Get the height of this swapchain's "screen". More...
 

Additional Inherited Members

- Protected Attributes inherited from Hatchit::Graphics::SwapChain
PipelineBasem_pipeline
 
uint32_t m_currentBuffer
 
uint32_t m_width
 
uint32_t m_height
 

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