Documentation de SFML 2.6.1
Attention: cette page se réfère à une ancienne version de SFML. Cliquez ici pour passer à la dernière version.Loading...
Searching...
No Matches
Vulkan helper functions. More...
#include <SFML/Window/Vulkan.hpp>
Static Public Member Functions | |
static bool | isAvailable (bool requireGraphics=true) |
Tell whether or not the system supports Vulkan. | |
static VulkanFunctionPointer | getFunction (const char *name) |
Get the address of a Vulkan function. | |
static const std::vector< const char * > & | getGraphicsRequiredInstanceExtensions () |
Get Vulkan instance extensions required for graphics. | |
Vulkan helper functions.
Definition at line 62 of file Vulkan.hpp.
|
static |
|
static |
|
static |
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 |