Loading...
Searching...
No Matches
sf::Vulkan Namespace Reference
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. |
Detailed Description
Vulkan helper functions.
This namespace contains functions to help you use SFML for windowing and write your own Vulkan code for graphics.
Function Documentation
◆ getFunction()
|
nodiscard |
◆ getGraphicsRequiredInstanceExtensions()
|
nodiscard |
◆ isAvailable()
|
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.
- Parameters
-
requireGraphics
- Returns
- true if Vulkan is supported, false otherwise