Pyrogenesis  trunk
Classes | Namespaces | Functions
DeviceSelection.h File Reference
#include "scriptinterface/ScriptForward.h"
#include <glad/vulkan.h>
#include <limits>
#include <vector>
Include dependency graph for DeviceSelection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Renderer::Backend::Vulkan::SAvailablePhysicalDevice
 Structure to store all information that might be useful on device selection. More...
 

Namespaces

 Renderer
 
 Renderer::Backend
 
 Renderer::Backend::Vulkan
 

Functions

std::vector< SAvailablePhysicalDevice > Renderer::Backend::Vulkan::GetAvailablePhysicalDevices (VkInstance instance, VkSurfaceKHR surface, const std::vector< const char * > &requiredDeviceExtensions)
 
bool Renderer::Backend::Vulkan::IsPhysicalDeviceUnsupported (const SAvailablePhysicalDevice &device)
 
bool Renderer::Backend::Vulkan::ComparePhysicalDevices (const SAvailablePhysicalDevice &device1, const SAvailablePhysicalDevice &device2)
 
bool Renderer::Backend::Vulkan::IsSurfaceFormatSupported (const VkSurfaceFormatKHR &surfaceFormat)
 
void Renderer::Backend::Vulkan::ReportAvailablePhysicalDevice (const SAvailablePhysicalDevice &device, const ScriptRequest &rq, JS::HandleValue settings)
 Report all desired information about the available physical device. More...