vulkan-utils-0.5.10: Utils for the vulkan package
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Utils.Debug

Synopsis

Documentation

debugCallbackPtr :: PFN_vkDebugUtilsMessengerCallbackEXT Source #

A debug callback which prints the message prefixed with "Validation: " to stderr.

debugCallbackFatalPtr :: PFN_vkDebugUtilsMessengerCallbackEXT Source #

A debug callback the same as debugCallbackPtr except it will call abort when VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT is set.

nameObject :: (HasObjectType a, MonadIO m) => Device -> a -> ByteString -> m () Source #

Assign a name to a handle using setDebugUtilsObjectNameEXT, note that the VK_EXT_debug_utils extension must be enabled.