mirror of
https://github.com/borgesdan/xn65
synced 2024-12-29 21:54:47 +01:00
31 lines
580 B
C++
31 lines
580 B
C++
#ifndef XNA_GRAPHICS_SWAPCHAIN_HPP
|
|
#define XNA_GRAPHICS_SWAPCHAIN_HPP
|
|
|
|
#include "../types.hpp"
|
|
#include "../enums.hpp"
|
|
#include "../forward.hpp"
|
|
#include "../game/window.hpp"
|
|
|
|
namespace xna {
|
|
class SwapChain {
|
|
public:
|
|
PLATFORM_DEVELOPMENT
|
|
SwapChain(GraphicsDevice* device);
|
|
|
|
PLATFORM_DEVELOPMENT
|
|
bool Initialize(GameWindow const& gameWindow);
|
|
|
|
PLATFORM_DEVELOPMENT
|
|
bool Apply();
|
|
|
|
private:
|
|
GraphicsDevice* _device{ nullptr };
|
|
|
|
public:
|
|
class InternalProperty;
|
|
friend class InternalProperty;
|
|
sptr<InternalProperty> ip_SwapChain{ nullptr };
|
|
};
|
|
}
|
|
|
|
#endif |