Cogs.Core
|
Public Member Functions | |
void | initialize (ID3D11Device *device) |
void | initialize (ID3D11Device1 *device) |
void | initialize (ID3D11Device5 *device) |
Vendors::EVendors | getVendor () const override |
Gets the known vendor of the initialized graphics device. | |
Series::ESeries | getSeries () const override |
Gets the series of GPUs the currently initialized graphics device belongs to. | |
bool | supportsInstancing () const override |
Check if the graphics device supports instancing. | |
const GraphicsDeviceCapabilities & | getDeviceCapabilities () const override |
Gets the device capabilities in a structure. | |
![]() | |
virtual Vendors::EVendors | getVendor () const |
Gets the known vendor of the initialized graphics device. | |
virtual Series::ESeries | getSeries () const |
Gets the series of GPUs the currently initialized graphics device belongs to. | |
virtual int | getModel () const |
Gets the model number of the initialized graphics device. | |
virtual bool | supportsInstancing () const |
Check if the graphics device supports instancing. | |
virtual int | getMaxTextureSlots () const |
Gets maximum number of supported texture slots. | |
virtual const GraphicsDeviceCapabilities & | getDeviceCapabilities () const |
Gets the device capabilities in a structure. | |
Private Attributes | |
Vendors::EVendors | vendor = Vendors::Unknown |
Series::ESeries | series = Series::Unknown |
GraphicsDeviceCapabilities | capabilities |
Definition at line 9 of file CapabilitiesD3D11.h.
|
inlineoverridevirtual |
Gets the device capabilities in a structure.
Reimplemented from Cogs::ICapabilities.
Definition at line 23 of file CapabilitiesD3D11.h.
|
inlineoverridevirtual |
Gets the series of GPUs the currently initialized graphics device belongs to.
Reimplemented from Cogs::ICapabilities.
Definition at line 19 of file CapabilitiesD3D11.h.
|
inlineoverridevirtual |
Gets the known vendor of the initialized graphics device.
Reimplemented from Cogs::ICapabilities.
Definition at line 17 of file CapabilitiesD3D11.h.
void Cogs::CapabilitiesD3D11::initialize | ( | ID3D11Device * | device | ) |
Definition at line 24 of file CapabilitiesD3D11.cpp.
void Cogs::CapabilitiesD3D11::initialize | ( | ID3D11Device1 * | device | ) |
Definition at line 80 of file CapabilitiesD3D11.cpp.
void Cogs::CapabilitiesD3D11::initialize | ( | ID3D11Device5 * | device | ) |
Definition at line 86 of file CapabilitiesD3D11.cpp.
|
inlineoverridevirtual |
Check if the graphics device supports instancing.
Reimplemented from Cogs::ICapabilities.
Definition at line 21 of file CapabilitiesD3D11.h.
|
private |
Definition at line 28 of file CapabilitiesD3D11.h.
|
private |
Definition at line 27 of file CapabilitiesD3D11.h.
|
private |
Definition at line 26 of file CapabilitiesD3D11.h.