KiCad PCB EDA Suite
Loading...
Searching...
No Matches
rhi_vulkan_device.h File Reference
#include <rhi/rhi_device.h>
#include <memory>

Go to the source code of this file.

Functions

std::unique_ptr< RHI_DEVICE > RhiCreateVulkanDevice (bool enableValidation=false)
 Create the Vulkan device, loading libvulkan at run time.
 

Function Documentation

◆ RhiCreateVulkanDevice()

std::unique_ptr< RHI_DEVICE > RhiCreateVulkanDevice ( bool enableValidation = false)

Create the Vulkan device, loading libvulkan at run time.

Returns nullptr if Vulkan is not available or no suitable GPU is found.

Definition at line 6006 of file rhi_vulkan_device.cpp.

Referenced by RhiCreatePlatformDevice().