Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
|
#include <adapter.h>
Public Member Functions | |
Adapter () | |
Adapter (IDXGIAdapter1 *dxgi_adapter) | |
Static Public Member Functions | |
static Vector< Adapter > | FindAvailableAdapters (FindAdapterFlag find_adapter_flags) |
Public Attributes | |
IDXGIAdapter4 * | dxgi_adapter |
String | name |
DXGI_ADAPTER_FLAG3 | flags |
unsigned long long | video_memory |
unsigned long long | system_memory |
unsigned long long | shared_system_memory |
LUID | adapter_luid |
Wraps an IDXGIAdapter.
This struct wraps all data for Adapters and makes it easily available to the user to read.
blowbox::Adapter::Adapter | ( | ) |
Constructs an empty Adapter.
blowbox::Adapter::Adapter | ( | IDXGIAdapter1 * | dxgi_adapter | ) |
|
static |
Find a list of available adapters.
[in] | find_adapter_flags | Any find adapter flags you might want to pass in |
LUID blowbox::Adapter::adapter_luid |
The LUID of this Adapter.
IDXGIAdapter4* blowbox::Adapter::dxgi_adapter |
The underlying IDXGIAdapter.
DXGI_ADAPTER_FLAG3 blowbox::Adapter::flags |
Any flags that are set on the Adapter.
unsigned long long blowbox::Adapter::shared_system_memory |
How much shared system memory is available on this Adapter.
unsigned long long blowbox::Adapter::system_memory |
How much system memory is available on this Adapter.
unsigned long long blowbox::Adapter::video_memory |
How much video memory is available on this Adapter.