LiteFX::Rendering::Backends::DirectX12GraphicsAdapter¶
Implements a DirectX12 IGraphicsAdapter.
Synopsis¶
Declared in <litefx/backends/dx12_api.hpp>
class [[dllimport, dllexport]] DirectX12GraphicsAdapter final
: public IGraphicsAdapter
, public ComResource<IDXGIAdapter4>
Base Classes¶
| Name | Description |
|---|---|
IGraphicsAdapter | Represents a physical graphics adapter. |
ComResource<IDXGIAdapter4> | A resource that is hold by a ComPtr. |
Type Aliases¶
| Name |
|---|
_Esft_type |
handle_type |
Member Functions¶
| Name | Description |
|---|---|
~DirectX12GraphicsAdapter [destructor] [virtual] | Destructor |
apiVersion [virtual] | Returns the graphics API version. |
dedicatedMemory [virtual] | Returns the amount of dedicated graphics memory (in bytes), this adapter can use. |
deviceId [virtual] | Returns a unique identifier, that identifies the product. |
driverVersion [virtual] | Returns the graphics driver version. |
handle [virtual] | Returns the resource managed by the class. |
name [virtual] | Retrieves the name of the graphics adapter. |
shared_from_this | |
shared_from_this | |
shared_from_this | Returns a shared pointer to the current object instance. |
type [virtual] | Returns the type of the graphics adapter. |
uniqueId [virtual] | Returns a unique identifier, that identifies the device in the system. |
vendorId [virtual] | Returns a unique identifier, that identifies the vendor of the graphics adapter. |
weak_from_this | |
weak_from_this | |
weak_from_this | Returns a weak pointer to the current object instance. |
Static Member Functions¶
| Name | Description |
|---|---|
create | Creates a new DirectX12 graphics adapter. |
Protected Types¶
| Name | Description |
|---|---|
Allocator | An allocator used to allocate the shared object. |
Protected Member Functions¶
| Name | Description |
|---|---|
operator= | Copy assignment operator |
operator= | Copy assignment operator |
operator= | Move assignment operator |
operator= | Move assignment operator |
operator= [deleted] | Assignment operator |
operator= | |
operator= | Assignment operator |
handle [virtual] | Returns the resource managed by the class. |
Protected Static Member Functions¶
| Name | Description |
|---|---|
create | Generic factory method used to create instances of the shared object. |
Friends¶
| Name | Description |
|---|---|
LiteFX::SharedObject::Allocator | An allocator used to allocate the shared object. |
LiteFX::Rendering::Backends::DirectX12GraphicsAdapter::DirectX12GraphicsAdapterImpl | |
LiteFX::PimplPtr | A smart pointer that manages an implementation instance for a public interface class. |