The Vulkan backend manager.
More...
#include <vkBackend.h>
|
| static void | CreateInstance () noexcept |
| |
| static VkInstance | GetInstance () noexcept |
| |
| static VkDevice | GetDevice () noexcept |
| |
| static VkPhysicalDevice | GetPhysicalDevice () noexcept |
| |
| static ErrorCode | Init (VkSurfaceKHR surface) noexcept |
| | Initializes the Vulkan backend. This is the first step to use any vulkan api.
|
| |
| static std::multimap< int, RuntimeDeviceData > | QueryDevices (VkSurfaceKHR surface) noexcept |
| | Queries the available devices and scores them based on their features, then caches the Query. This function is called if a device info cache is not found.
|
| |
| static void | Cleanup () |
| |
| static const VkAllocationCallbacks * | GetAllocator () noexcept |
| |
| static void | SetAllocator (VkAllocationCallbacks cb) |
| |
| static void | setupDebugMessenger () |
| |
| static void | populateDebugMessengerCreateInfo (VkDebugUtilsMessengerCreateInfoEXT &createInfo) |
| |
| static VKAPI_ATTR VkBool32 VKAPI_CALL | debugCallback (VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, VkDebugUtilsMessageTypeFlagsEXT messageType, const VkDebugUtilsMessengerCallbackDataEXT *pCallbackData, void *pUserData) |
| |
The Vulkan backend manager.
Definition at line 46 of file vkBackend.h.
◆ vkBackend()
| Hubris::Graphics::Vulkan::vkBackend::vkBackend |
( |
| ) |
|
|
delete |
◆ ~vkBackend()
| Hubris::Graphics::Vulkan::vkBackend::~vkBackend |
( |
| ) |
|
|
delete |
◆ Cleanup()
| static void Hubris::Graphics::Vulkan::vkBackend::Cleanup |
( |
| ) |
|
|
inlinestatic |
◆ CreateInstance()
| static void Hubris::Graphics::Vulkan::vkBackend::CreateInstance |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ debugCallback()
| static VKAPI_ATTR VkBool32 VKAPI_CALL Hubris::Graphics::Vulkan::vkBackend::debugCallback |
( |
VkDebugUtilsMessageSeverityFlagBitsEXT | messageSeverity, |
|
|
VkDebugUtilsMessageTypeFlagsEXT | messageType, |
|
|
const VkDebugUtilsMessengerCallbackDataEXT * | pCallbackData, |
|
|
void * | pUserData ) |
|
inlinestatic |
◆ GetAllocator()
| static const VkAllocationCallbacks * Hubris::Graphics::Vulkan::vkBackend::GetAllocator |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ GetDevice()
| static VkDevice Hubris::Graphics::Vulkan::vkBackend::GetDevice |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ GetInstance()
| static VkInstance Hubris::Graphics::Vulkan::vkBackend::GetInstance |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ GetPhysicalDevice()
| static VkPhysicalDevice Hubris::Graphics::Vulkan::vkBackend::GetPhysicalDevice |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ Init()
| static ErrorCode Hubris::Graphics::Vulkan::vkBackend::Init |
( |
VkSurfaceKHR | surface | ) |
|
|
inlinestaticnoexcept |
Initializes the Vulkan backend. This is the first step to use any vulkan api.
- Note
- Don't call this manually, unless GraphicsApi is not managed by the engine.
Definition at line 260 of file vkBackend.h.
◆ populateDebugMessengerCreateInfo()
| static void Hubris::Graphics::Vulkan::vkBackend::populateDebugMessengerCreateInfo |
( |
VkDebugUtilsMessengerCreateInfoEXT & | createInfo | ) |
|
|
inlinestatic |
◆ QueryDevices()
| static std::multimap< int, RuntimeDeviceData > Hubris::Graphics::Vulkan::vkBackend::QueryDevices |
( |
VkSurfaceKHR | surface | ) |
|
|
inlinestaticnoexcept |
Queries the available devices and scores them based on their features, then caches the Query. This function is called if a device info cache is not found.
Definition at line 328 of file vkBackend.h.
◆ SetAllocator()
| static void Hubris::Graphics::Vulkan::vkBackend::SetAllocator |
( |
VkAllocationCallbacks | cb | ) |
|
|
inlinestatic |
◆ setupDebugMessenger()
| static void Hubris::Graphics::Vulkan::vkBackend::setupDebugMessenger |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: