imguiManager et start Fullscreen

This commit is contained in:
2024-03-22 16:51:17 +01:00
parent e9fda93632
commit 77adeb2872
10 changed files with 298 additions and 37 deletions

View File

@@ -18,6 +18,7 @@
//////////////
#include <d3d11.h>
#include <directxmath.h>
#include "imguiManager.h"
using namespace DirectX;
@@ -40,6 +41,7 @@ public:
ID3D11Device* GetDevice();
ID3D11DeviceContext* GetDeviceContext();
IDXGISwapChain* m_swapChain;
IDXGISwapChain* GetSwapChain();
void GetProjectionMatrix(XMMATRIX&);
void GetWorldMatrix(XMMATRIX&);
@@ -50,6 +52,10 @@ public:
void SetBackBufferRenderTarget();
void ResetViewport();
void ReleaseResources();
bool SetFullscreen(bool fullscreen);
bool RecreateResources();
private:
bool m_vsync_enabled;
int m_videoCardMemory;