mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
working d3d11 device creation
This commit is contained in:
@@ -10,16 +10,17 @@
|
||||
#include <Pulse.h>
|
||||
#include "D3D11.h"
|
||||
|
||||
typedef struct D3D11Device
|
||||
typedef struct Direct3D11Device
|
||||
{
|
||||
DXGI_ADAPTER_DESC1 description;
|
||||
ID3D11Device* device;
|
||||
ID3D11DeviceContext* context;
|
||||
IDXGIFactory1* factory;
|
||||
IDXGIAdapter1* adapter;
|
||||
} D3D11Device;
|
||||
} Direct3D11Device;
|
||||
|
||||
PulseDevice PuD3D11CreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count);
|
||||
void PuD3D11DestroyDevice(PulseDevice device);
|
||||
PulseDevice Direct3D11CreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count);
|
||||
void Direct3D11DestroyDevice(PulseDevice device);
|
||||
|
||||
#endif // PULSE_D3D11_DEVICE_H_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user