IFVRCompositor::Submit - texture type for EFVR_GraphicsAPI::OpenGL
Looking at the code from the Unreal FOVE plugin, i found that for DirectX (EFVR_GraphicsAPI::DirectX), IFVRCompositor::Submit's SFVR_CompositorTexture parameter is expecting a ID3D11Texture2D* but I couldn't find out what type IFVRCompositor::Submit expects for OpenGL (EFVR_GraphicsAPI::OpenGL).
Any hints?
-
Hi,
The FOVE SDK doesn't support OpenGL yet. The enum value is meant for future support. I apologize for the confusion.
If you do have an OpenGL application already, you might be able to use the following extension for buffer sharing, which would allow you to submit OpenGL-rendered content through a DX texture, though we haven't tested this approach yet.
https://khronos.org/registry/OpenGL/extensions/NV/WGL_NV_DX_interop2.txt
- Jeff @ FOVE
-
As someone who's worked with OpenGL for many years, I'm looking forward to getting it working, and hopefully Vulkan as well. Currently there are some higher priorities, so we don't have a timeline yet. At the very least, we will need to get it working for eventual support of Mac/Linux.
- Jeff @ FOVE
Please sign in to leave a comment.
Comments
4 comments