Are there any example codes on how to use VK_KHR_external_memory?

I want to do some interop thing to share a image to my vulkan renderer, for example create a image on d3d side, and shared to my vulkan renderer. (or vice versa, create and render an image on vulkan side, then shared it to d3d side? I don’t know.) I found that there’s an extension called VK_KHR_external_memory, which seems to do this kind of things, but I searched for a while and couldn’t find an example.

Is there any good resources about using VK_KHR_external_memory out there?

I don’t know an example to use interop vulkan with D3D, but there’s a sample on OpenGL-Vulkan interop in the Vulkan-Samples repository. And there’s a new sample on OpenCL-Vulkan interop materializing these days. Maybe they could help you.

1 Like

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.