Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Renderer::Backend::Vulkan::anonymous_namespace{DeviceSelection.cpp} Namespace Reference

Classes

struct  ReportFormatHelper
 
struct  ReportFormatHelper< T, typename std::enable_if_t< std::is_array_v< T > > >
 
struct  ReportFormatHelper< T, typename std::enable_if_t< std::is_enum_v< T > > >
 
struct  ReportFormatHelper< T, typename std::enable_if_t< std::is_floating_point_v< T > > >
 
struct  ReportFormatHelper< T, typename std::enable_if_t< std::is_integral_v< T > > >
 

Functions

std::vector< std::string > GetPhysicalDeviceExtensions (VkPhysicalDevice device)
 
uint32_t GetDeviceTypeScore (const VkPhysicalDeviceType deviceType)
 
VkDeviceSize GetDeviceTotalMemory (const VkPhysicalDeviceMemoryProperties &memoryProperties)
 
VkDeviceSize GetHostTotalMemory (const VkPhysicalDeviceMemoryProperties &memoryProperties)
 
SAvailablePhysicalDevice MakeAvailablePhysicalDevice (const uint32_t physicalDeviceIndex, VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, const std::vector< const char * > &requiredDeviceExtensions)
 

Function Documentation

◆ GetDeviceTotalMemory()

VkDeviceSize Renderer::Backend::Vulkan::anonymous_namespace{DeviceSelection.cpp}::GetDeviceTotalMemory ( const VkPhysicalDeviceMemoryProperties &  memoryProperties)

◆ GetDeviceTypeScore()

uint32_t Renderer::Backend::Vulkan::anonymous_namespace{DeviceSelection.cpp}::GetDeviceTypeScore ( const VkPhysicalDeviceType  deviceType)

◆ GetHostTotalMemory()

VkDeviceSize Renderer::Backend::Vulkan::anonymous_namespace{DeviceSelection.cpp}::GetHostTotalMemory ( const VkPhysicalDeviceMemoryProperties &  memoryProperties)

◆ GetPhysicalDeviceExtensions()

std::vector< std::string > Renderer::Backend::Vulkan::anonymous_namespace{DeviceSelection.cpp}::GetPhysicalDeviceExtensions ( VkPhysicalDevice  device)

◆ MakeAvailablePhysicalDevice()

SAvailablePhysicalDevice Renderer::Backend::Vulkan::anonymous_namespace{DeviceSelection.cpp}::MakeAvailablePhysicalDevice ( const uint32_t  physicalDeviceIndex,
VkPhysicalDevice  physicalDevice,
VkSurfaceKHR  surface,
const std::vector< const char * > &  requiredDeviceExtensions 
)