Cogs.Core
Public Member Functions | Private Attributes | List of all members
Cogs::CapabilitiesD3D11 Struct Reference
Inheritance diagram for Cogs::CapabilitiesD3D11:
Cogs::ICapabilities

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 GraphicsDeviceCapabilitiesgetDeviceCapabilities () const override
 Gets the device capabilities in a structure.
 
- Public Member Functions inherited from Cogs::ICapabilities
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 GraphicsDeviceCapabilitiesgetDeviceCapabilities () const
 Gets the device capabilities in a structure.
 

Private Attributes

Vendors::EVendors vendor = Vendors::Unknown
 
Series::ESeries series = Series::Unknown
 
GraphicsDeviceCapabilities capabilities
 

Detailed Description

Definition at line 9 of file CapabilitiesD3D11.h.

Member Function Documentation

◆ getDeviceCapabilities()

const GraphicsDeviceCapabilities & Cogs::CapabilitiesD3D11::getDeviceCapabilities ( ) const
inlineoverridevirtual

Gets the device capabilities in a structure.

Returns
A reference to a device capabilities struct.

Reimplemented from Cogs::ICapabilities.

Definition at line 23 of file CapabilitiesD3D11.h.

◆ getSeries()

Series::ESeries Cogs::CapabilitiesD3D11::getSeries ( ) const
inlineoverridevirtual

Gets the series of GPUs the currently initialized graphics device belongs to.

Returns
A Series from the list of known Series.

Reimplemented from Cogs::ICapabilities.

Definition at line 19 of file CapabilitiesD3D11.h.

◆ getVendor()

Vendors::EVendors Cogs::CapabilitiesD3D11::getVendor ( ) const
inlineoverridevirtual

Gets the known vendor of the initialized graphics device.

Returns
A vendor from the list of known Vendors.

Reimplemented from Cogs::ICapabilities.

Definition at line 17 of file CapabilitiesD3D11.h.

◆ initialize() [1/3]

void Cogs::CapabilitiesD3D11::initialize ( ID3D11Device *  device)

Definition at line 24 of file CapabilitiesD3D11.cpp.

◆ initialize() [2/3]

void Cogs::CapabilitiesD3D11::initialize ( ID3D11Device1 *  device)

Definition at line 80 of file CapabilitiesD3D11.cpp.

◆ initialize() [3/3]

void Cogs::CapabilitiesD3D11::initialize ( ID3D11Device5 *  device)

Definition at line 86 of file CapabilitiesD3D11.cpp.

◆ supportsInstancing()

bool Cogs::CapabilitiesD3D11::supportsInstancing ( ) const
inlineoverridevirtual

Check if the graphics device supports instancing.

Returns
A boolean indicating true if the graphics device supports instancing, false if not.

Reimplemented from Cogs::ICapabilities.

Definition at line 21 of file CapabilitiesD3D11.h.

Member Data Documentation

◆ capabilities

GraphicsDeviceCapabilities Cogs::CapabilitiesD3D11::capabilities
private

Definition at line 28 of file CapabilitiesD3D11.h.

◆ series

Series::ESeries Cogs::CapabilitiesD3D11::series = Series::Unknown
private

Definition at line 27 of file CapabilitiesD3D11.h.

◆ vendor

Vendors::EVendors Cogs::CapabilitiesD3D11::vendor = Vendors::Unknown
private

Definition at line 26 of file CapabilitiesD3D11.h.


The documentation for this struct was generated from the following files: