vulkan: add MwVulkanSupported for telegraphing whether vulkan is avaliable on the user's computer

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@120 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
IoIxD
2025-10-01 23:09:38 +00:00
parent cc9a63b67e
commit ddaaa37039
3 changed files with 59 additions and 8 deletions

View File

@@ -117,6 +117,11 @@ typedef enum MwVulkanField_T {
*/
MWDECL void* MwVulkanGetField(MwWidget handle, MwVulkanField field, MwErrorEnum* out);
/*!
* %brief Return whether Vulkan is installed on the target platform.
*/
MWDECL VkBool32 MwVulkanSupported();
#ifdef __cplusplus
}
#endif