问题描述
是否可以从Vulkan渲染到OpenGL?
Is it possible to render to OpenGL from Vulkan?
nVidia似乎有一些东西: https://lunarg.com/faqs/mix-opengl-vulkan-rendering/
It seems nVidia has something:https://lunarg.com/faqs/mix-opengl-vulkan-rendering/
可以为其他GPU做到吗?
Can it be done for other GPU's?
推荐答案
NVIDIA创建了OpenGL扩展NV_draw_vulkan_image,可以在OpenGL中渲染VkImage
.它甚至具有一些与Vulkan信号灯等进行交互的机制.
NVIDIA has created an OpenGL extension, NV_draw_vulkan_image, which can render a VkImage
in OpenGL. It even has some mechanisms for interacting with Vulkan semaphores and the like.
但是,根据文档,您必须绕过所有Vulkan图层,因为这些图层可以修改不可调度的句柄,并且OpenGL扩展不知道所述修改.他们推荐的方法是对所有Vulkan函数使用glGetVkProcAddrNV
.
这也意味着您无法访问任何依赖Vulkan层的调试.
Which also means that you can't get access to any debugging that relies on Vulkan layers.
这篇关于如何从Vulkan渲染到OpenGL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!