Skip to content

LiteFX::Rendering::Backends::VulkanGraphicsAdapter

Represents a Vulkan IGraphicsAdapter.

Synopsis

Declared in <litefx/backends/vulkan_api.hpp>

class [[dllimport, dllexport]] VulkanGraphicsAdapter final
    : public IGraphicsAdapter
    , public Resource<VkPhysicalDevice>

Base Classes

NameDescription
IGraphicsAdapterRepresents a physical graphics adapter.
Resource<VkPhysicalDevice>Implements the IResource interface.

Type Aliases

Member Functions

NameDescription
~VulkanGraphicsAdapter [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.
deviceValidationLayers Returns a list of available validation layers.
driverVersion [virtual]Returns the graphics driver version.
getAvailableDeviceExtensions Returns a list of available extensions.
handle [virtual]Returns the resource managed by the class.
limits Returns the limits of the physical device.
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.
validateDeviceExtensions Returns true, if all elements of are contained by the a list of available extensions.
validateDeviceLayers Returns true, if all elements of are contained by the a list of available validation layers.
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.

Static Member Functions

NameDescription
create Creates a graphics adapter instance with a physical device.

Protected Types

NameDescription
Allocator An allocator used to allocate the shared object.

Protected Member Functions

NameDescription
operator= Assignment operators
handle [virtual]Returns the resource managed by the class.

Protected Static Member Functions

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

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::VulkanGraphicsAdapter::VulkanGraphicsAdapterImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.