dx11 template functions

gui
qtkite 3 years ago
parent a7ddabc88d
commit a2a1913316

@ -2,5 +2,30 @@
namespace gui::dx11
{
bool create_device(HWND hwnd)
{
// Setup a swapchain
return false;
}
void cleanup()
{
}
void setup(HWND hwnd)
{
}
void start()
{
}
void end()
{
}
void resize()
{
}
}

@ -1,9 +1,18 @@
#pragma once
#include <Windows.h>
#include <d3d11.h>
#include <tchar.h>
#include <imgui.h>
namespace gui::dx11
{
bool create_device(HWND hwnd);
void cleanup();
void setup(HWND hwnd);
void start();
void end();
// resize here:
void resize();
}

Loading…
Cancel
Save