I know that mixing OpenGL and DirectX is not recommended, but I'm trying to build a bridge between two different applications using a separate graphical API: s, and I hope that there is a way to share data, especially textures.
I have a texture that is created in Direct3D as follows:
d3_device-> CreateTexture(width, height,
1, D3DUSAGE_RENDERTARGET, D3DFMT_A8R8G8B8, D3DPOOL_DEFAULT,
&texture, NULL);
Is it possible to use this texture from OpenGL without going through system memory?
source
share