Blowbox 2017
A 3D Game Engine by Riko Ophorst using DirectX 12
|
#include <device.h>
Public Member Functions | |
Device () | |
~Device () | |
void | Create () |
void | Create (const Adapter &adapter) |
const Adapter & | GetAdapter () const |
ID3D12Device * | Get () const |
Private Attributes | |
Adapter | adapter_ |
ID3D12Device * | device_ |
Wraps the ID3D12Device.
This object manages the ID3D12Device object. It automatically creates and deletes it.
blowbox::Device::Device | ( | ) |
Constructs a Device.
blowbox::Device::~Device | ( | ) |
Destructs a Device.
void blowbox::Device::Create | ( | ) |
void blowbox::Device::Create | ( | const Adapter & | adapter | ) |
ID3D12Device * blowbox::Device::Get | ( | ) | const |
|
private |
|
private |
The underlying ID3D12Device.