Skip to content

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

NameDescription
SharedObjectBase class for an object that can be shared.

Type Aliases

Name
_Esft_type

Member Functions

NameDescription
~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

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
IGraphicsAdapter [constructor]Constructors
operator= Assignment operators

Protected Static Member Functions

NameDescription
create Generic factory method used to create instances of the shared object.

Derived Classes

NameDescription
DirectX12GraphicsAdapter Implements a DirectX12 IGraphicsAdapter.
VulkanGraphicsAdapter Represents a Vulkan IGraphicsAdapter.