Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Warning
This page refers to an old version of SFML. Click here to switch to the latest version.
Vulkan helper functions. More...
Functions | |
bool | isAvailable (bool requireGraphics=true) |
Tell whether or not the system supports Vulkan. | |
VulkanFunctionPointer | getFunction (const char *name) |
Get the address of a Vulkan function. | |
const std::vector< const char * > & | getGraphicsRequiredInstanceExtensions () |
Get Vulkan instance extensions required for graphics. |
Vulkan helper functions.
This namespace contains functions to help you use SFML for windowing and write your own Vulkan code for graphics.
|
nodiscard |
|
nodiscard |
|
nodiscard |
Tell whether or not the system supports Vulkan.
This function should always be called before using the Vulkan features. If it returns false, then any attempt to use Vulkan will fail.
If only compute is required, set requireGraphics to false to skip checking for the extensions necessary for graphics rendering.
requireGraphics |