vOOlkan
An object oriented approach to Vulkan
|
Represents the GPU (or any other device) that will be used with Vulkan to perform computer graphics. More...
#include <PhysicalDevice.h>
Public Member Functions | |
PhysicalDevice (const Instance &vulkanInstance, const WindowSurface &surface) | |
const VkPhysicalDevice & | operator+ () const |
Returns the underlying VkPhyisicalDevice object. More... | |
std::map< QueueFamily, int > | getQueueFamiliesIndices () const |
Returns the indices of the graphics and presentation queue families (they can be the same family). More... | |
std::vector< const char * > | getRequiredDeviceExtensions () const |
VkPhysicalDeviceProperties | getProperties () const |
Represents the GPU (or any other device) that will be used with Vulkan to perform computer graphics.
Vulkan::PhysicalDevice::PhysicalDevice | ( | const Instance & | vulkanInstance, |
const WindowSurface & | surface | ||
) |
|
inline |
std::map< Vulkan::QueueFamily, int > Vulkan::PhysicalDevice::getQueueFamiliesIndices | ( | ) | const |
Returns the indices of the graphics and presentation queue families (they can be the same family).
std::vector< const char * > Vulkan::PhysicalDevice::getRequiredDeviceExtensions | ( | ) | const |
Returns the list of required GPU extensions.
const VkPhysicalDevice & Vulkan::PhysicalDevice::operator+ | ( | ) | const |
Returns the underlying VkPhyisicalDevice object.