|
SimpleGL
1.1.0
A framework for platform independent rendering
|
This class wraps a Vulkan physical device and represents a graphics card. More...
#include <physical_device.hpp>
Public Member Functions | |
| ~PhysicalDevice (void) | |
| Destructor for the physical device. More... | |
| VkPhysicalDevice | getHandle () |
| Returns the handle of the physical device. More... | |
| QueueFamilyIndices | getQueueFamilyIndices () |
| Returns the queue family indices of the physical device. More... | |
| SwapchainSupportDetails | getSwapchainSupportDetails () |
| Returns the swapchain support details. More... | |
| VkPhysicalDeviceProperties | getProperties () |
| Returns the properties of this physical device. More... | |
| VkPhysicalDeviceFeatures | getFeatures () |
| Returns The features of this physical device. More... | |
| std::vector< VkQueueFamilyProperties > | getQueueFamilyProperties () |
| Returns the queue family properties of this physical device. More... | |
Static Public Member Functions | |
| static std::vector< PhysicalDevice * > | getAvailablePhysicalDevices (Surface *surface) |
| Returns a list of available physical devices. More... | |
| static PhysicalDevice * | getSuitablePhysicalDevice (std::vector< PhysicalDevice * > physicalDevices) |
| Returns the most suitable physical device. More... | |
This class wraps a Vulkan physical device and represents a graphics card.
Definition at line 64 of file physical_device.hpp.
| sgl::PhysicalDevice::~PhysicalDevice | ( | void | ) |
Destructor for the physical device.
Definition at line 117 of file physical_device.cpp.
|
static |
Returns a list of available physical devices.
| surface | The Window surface to check for a presentation queue. |
Definition at line 29 of file physical_device.cpp.
| VkPhysicalDeviceFeatures sgl::PhysicalDevice::getFeatures | ( | ) |
Returns The features of this physical device.
Definition at line 140 of file physical_device.cpp.
| VkPhysicalDevice sgl::PhysicalDevice::getHandle | ( | ) |
Returns the handle of the physical device.
Definition at line 121 of file physical_device.cpp.
| VkPhysicalDeviceProperties sgl::PhysicalDevice::getProperties | ( | ) |
Returns the properties of this physical device.
Definition at line 133 of file physical_device.cpp.
| QueueFamilyIndices sgl::PhysicalDevice::getQueueFamilyIndices | ( | ) |
Returns the queue family indices of the physical device.
Definition at line 125 of file physical_device.cpp.
| std::vector< VkQueueFamilyProperties > sgl::PhysicalDevice::getQueueFamilyProperties | ( | ) |
Returns the queue family properties of this physical device.
Definition at line 147 of file physical_device.cpp.
|
static |
Returns the most suitable physical device.
| physicalDevices | The list of available physical devices. |
Definition at line 42 of file physical_device.cpp.
| SwapchainSupportDetails sgl::PhysicalDevice::getSwapchainSupportDetails | ( | ) |
Returns the swapchain support details.
Definition at line 129 of file physical_device.cpp.
1.8.11