Skip to content

dylan-conway/vk_enum_str

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert Vulkan enums to strings

Example

#include "vk_enum_str.h"

// ...

VkResult result = vkCreateInstance(&info, NULL, &instance);
printf("%s\n", STR_VK_RESULT(result));

// ...

VkPresentModeKHR present_mode = ChoosePresentMode();
printf("%s\n", STR_VK_PRESENT_MODE_KHR(present_mode));

// ...

Naming

VkEnumTypeName --> STR_VK_ENUM_TYPE_NAME()

About

Convert Vulkan enums into strings for debugging

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published