mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
27 lines
657 B
C
27 lines
657 B
C
// Copyright (C) 2025 kanel
|
|
// This file is part of "Pulse"
|
|
// For conditions of distribution and use, see copyright notice in LICENSE
|
|
|
|
#ifdef PULSE_ENABLE_D3D11_BACKEND
|
|
|
|
#ifndef PULSE_D3D11_DEVICE_H_
|
|
#define PULSE_D3D11_DEVICE_H_
|
|
|
|
#include <Pulse.h>
|
|
#include "D3D11.h"
|
|
|
|
typedef struct D3D11Device
|
|
{
|
|
ID3D11Device* device;
|
|
ID3D11DeviceContext* context;
|
|
IDXGIFactory1* factory;
|
|
IDXGIAdapter1* adapter;
|
|
} D3D11Device;
|
|
|
|
PulseDevice PuD3D11CreateDevice(PulseBackend backend, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count);
|
|
void PuD3D11DestroyDevice(PulseDevice device);
|
|
|
|
#endif // PULSE_D3D11_DEVICE_H_
|
|
|
|
#endif // PULSE_ENABLE_D3D11_BACKEND
|