Luna::RHI::ISwapChain
Represents one swap chain used for presenting images to the screen.
interface Luna::RHI::ISwapChain : public virtual IDeviceChild
Base type
Member functions
-
virtual Window::IWindow * get_window()=0
Gets the window that this swap chain bounds to.
-
virtual SwapChainDesc get_desc()=0
Gets the descriptor object.
-
virtual R< ITexture * > get_current_back_buffer()=0
Gets the current back buffer that is available for rendering.
-
Submits the current back buffer to the bounding queue for presenting.
-
virtual RV reset(const SwapChainDesc &desc)=0
Resets the swap chain.