|
SPARK
0.1.0
A general purpose game engine written in C++.
|
Implementation of IGraphicsAdapter for Vulkan. More...
#include <VulkanGraphicsAdapter.h>
Classes | |
| struct | Impl |
Public Member Functions | |
| VulkanGraphicsAdapter (VkPhysicalDevice adapter) | |
| Initializes a new instance of the VulkanGraphicsAdapter class. | |
| VulkanGraphicsAdapter (const VulkanGraphicsAdapter &other)=delete | |
| VulkanGraphicsAdapter (VulkanGraphicsAdapter &&other) noexcept=delete | |
| VulkanGraphicsAdapter & | operator= (const VulkanGraphicsAdapter &other)=delete |
| VulkanGraphicsAdapter & | operator= (VulkanGraphicsAdapter &&other) noexcept=delete |
| std::string | name () const noexcept override |
| Gets the name of the graphics adapter. | |
| lib::Uuid | uuid () const noexcept override |
| Gets the unique identifier for the graphics adapter in the system. | |
| unsigned | vendorId () const noexcept override |
| Gets an identifier representing the vendor of the graphics adapter. | |
| unsigned | deviceId () const noexcept override |
| Gets an identifier representing the product. | |
| GraphicsAdapterType | type () const noexcept override |
| Gets the type of the graphics adapter. | |
| unsigned | driverVersion () const noexcept override |
| Gets the version of the driver for the graphics adapter. | |
| unsigned | apiVersion () const noexcept override |
| Gets the version of the API supported by the graphics adapter. | |
| unsigned long long | dedicatedVideoMemory () const noexcept override |
| Gets the amount of dedicated video memory (in bytes) available on the graphics adapter. | |
| VkPhysicalDeviceLimits | limits () const noexcept |
| Gets the limits of the physical device. | |
| std::vector< std::string > | deviceExtensions () const noexcept |
| Gets the features supported by the physical device. | |
| bool | validateDeviceExtensions (const std::vector< std::string > &extensions) const noexcept |
| Validates the given device extensions against the physical device. | |
| std::vector< std::string > | deviceValidationLayers () const noexcept |
| Gets the validation layers supported by the physical device. | |
| bool | validateDeviceValidationLayers (const std::vector< std::string > &layers) const noexcept |
| Validates the given validation layers against the physical device. | |
Public Member Functions inherited from spark::render::Resource< VkPhysicalDevice > | |
| Resource (VkPhysicalDevice handle) noexcept | |
| Initializes the managed resource with the given handle. | |
| Resource (const Resource &other)=delete | |
| Resource (Resource &&other) noexcept=delete | |
| Resource & | operator= (const Resource &other)=delete |
| Resource & | operator= (Resource &&other) noexcept=delete |
| const VkPhysicalDevice & | handle () const final |
| Gets the managed resource handle. | |
Additional Inherited Members | |
Public Types inherited from spark::render::IResource< VkPhysicalDevice > | |
| using | handle_type |
Protected Member Functions inherited from spark::render::Resource< VkPhysicalDevice > | |
| VkPhysicalDevice & | handle () final |
| Gets the managed resource handle. | |
Implementation of IGraphicsAdapter for Vulkan.
|
explicit |
Initializes a new instance of the VulkanGraphicsAdapter class.
| adapter | The Vulkan physical device to initialize the adapter with. |
|
nodiscardoverridevirtualnoexcept |
Gets the version of the API supported by the graphics adapter.
Implements spark::render::IGraphicsAdapter.
|
nodiscardoverridevirtualnoexcept |
Gets the amount of dedicated video memory (in bytes) available on the graphics adapter.
Implements spark::render::IGraphicsAdapter.
|
nodiscardnoexcept |
Gets the features supported by the physical device.
|
nodiscardoverridevirtualnoexcept |
Gets an identifier representing the product.
Implements spark::render::IGraphicsAdapter.
|
nodiscardnoexcept |
Gets the validation layers supported by the physical device.
|
nodiscardoverridevirtualnoexcept |
Gets the version of the driver for the graphics adapter.
Implements spark::render::IGraphicsAdapter.
|
nodiscardnoexcept |
Gets the limits of the physical device.
|
nodiscardoverridevirtualnoexcept |
Gets the name of the graphics adapter.
Implements spark::render::IGraphicsAdapter.
|
nodiscardoverridevirtualnoexcept |
Gets the type of the graphics adapter.
Implements spark::render::IGraphicsAdapter.
|
nodiscardoverridevirtualnoexcept |
Gets the unique identifier for the graphics adapter in the system.
Implements spark::render::IGraphicsAdapter.
|
nodiscardnoexcept |
Validates the given device extensions against the physical device.
| extensions | A std::vector containing the device extensions to validate. |
|
nodiscardnoexcept |
Validates the given validation layers against the physical device.
| layers | A std::vector containing the validation layers to validate. |
|
nodiscardoverridevirtualnoexcept |
Gets an identifier representing the vendor of the graphics adapter.
Implements spark::render::IGraphicsAdapter.