Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/gfx/dx12/src/gfx_dx12.cpp

20 lines
302 B
C++
Raw Normal View History

2022-02-21 15:40:27 -05:00
#include "gfx_dx12.hpp"
#include <d3d12.h>
#include <dxgi1_6.h>
#include <d3dcompiler.h>
#include <wrl.h>
using namespace Microsoft::WRL;
ComPtr<ID3D12Device> g_Device;
2022-02-21 15:53:42 -05:00
bool gfx_dx12::initialize(const GFXCreateInfo& info) {
2022-02-21 15:40:27 -05:00
return true;
}
2022-02-21 15:53:42 -05:00
const char* gfx_dx12::get_name() {
2022-02-21 15:40:27 -05:00
return "DX12";
}