LiteFX::Rendering::IGraphicsAdapter
Represents a physical graphics adapter.
Synopsis
Declared in <litefx/rendering_api.hpp>
class [[dllimport, dllexport]] IGraphicsAdapter
: public SharedObject
Description
A graphics adapter can be seen as an actual physical device that can run graphics computations. Typically this resembles a GPU that is connected to the bus. However, it can also represent an emulated, virtual adapter, such as a software rasterizer.
Base Classes
| Name | Description |
SharedObject | Base class for an object that can be shared. |
Type Aliases
Member Functions
| Name | Description |
~IGraphicsAdapter [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. |
name [virtual] | Retrieves the name of the graphics adapter. |
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 | Returns a weak pointer to the current object instance. |
Protected Types
| Name | Description |
Allocator | An allocator used to allocate the shared object. |
Protected Member Functions
Protected Static Member Functions
| Name | Description |
create | Generic factory method used to create instances of the shared object. |
Derived Classes