HatchitGraphics
Public Member Functions | Protected Attributes | List of all members
Hatchit::Graphics::SwapChain Class Referenceabstract
Inheritance diagram for Hatchit::Graphics::SwapChain:
Hatchit::Graphics::DX::D3D12SwapChain Hatchit::Graphics::Vulkan::VKSwapChain

Public Member Functions

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...
 
virtual void VClear (float *color)=0
 
virtual bool VInitialize (uint32_t width, uint32_t height)=0
 
virtual void VResize (uint32_t width, uint32_t height)=0
 
virtual void VExecute (std::vector< RenderPassHandle > renderPasses)=0
 
virtual void VSetInput (RenderPassHandle handle)=0
 
virtual void VPresent ()=0
 

Protected Attributes

PipelineBasem_pipeline
 
uint32_t m_currentBuffer
 
uint32_t m_width
 
uint32_t m_height
 

Member Function Documentation

uint32_t Hatchit::Graphics::SwapChain::GetHeight ( ) const

Get the height of this swapchain's "screen".

Returns
The height of the swapchain's rendering area as a uint32_t
uint32_t Hatchit::Graphics::SwapChain::GetWidth ( ) const

Get the width of this swapchain's "screen".

Returns
The width of the swapchain's rendering area as a uint32_t

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