Skip to content

Pass callbacks to Vulkan API #778

Answered by Perksey
courgeon asked this question in Q&A
Jan 15, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Try

createInfo.PfnUserCallback = (DebugUtilsMessengerCallbackFunctionEXT) DebugCallback;

DebugUtilsMessengerCallbackFunctionEXT is a delegate which implicitly casts to the Pfn type.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@courgeon
Comment options

@courgeon
Comment options

@courgeon
Comment options

Answer selected by courgeon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants