light/modules/renderer/include/renderer/dx/graphics_context.hpp
light7734 f2c692a118
All checks were successful
continuous-integration/drone/push Build is passing
style: apply clang-format v20
2025-07-11 14:05:59 +03:30

30 lines
518 B
C++

#pragma once
#include <d3d11.h>
#include <renderer/graphics_context.hpp>
#include <wrl.h>
struct GLFWwindow;
namespace lt {
class dxGraphicsContext: public GraphicsContext
{
public:
dxGraphicsContext(GLFWwindow *windowHandle);
virtual void log_debug_data() override;
private:
GLFWwindow *m_window_handle;
Microsoft::WRL::ComPtr<ID3D11Debug> m_debug_interface;
void setup_device_and_swap_chain(GLFWwindow *windowHandle);
void setup_render_targets();
void setup_debug_interface();
};
} // namespace lt