#ifndef ISwapChain_h__ #define ISwapChain_h__ #include "render/ITexture2D.h" #include "Types.h" #include namespace LifeGraphics { class ISwapChain{ public: EVENT1(SwapChainEvent, ISwapChain*); SwapChainEvent Event_Resized; SwapChainEvent Event_Presented; virtual LifeGraphics::ITexture2D* GetBackBuffer(uint8 id) = 0; virtual LifeGraphics::ITexture2D* GetDepthBuffer(uint8 id) = 0; virtual void Resize(uint16 width, uint16 height) = 0; virtual void Present() = 0; virtual ~ISwapChain(){} }; } #endif // ISwapChain_h__