Unity SharpDX IDirect3DSurface surface to SharpDX.Direct3D11.Texture2D
I’m working on a UWP application in Unity with SharpDX and ffmpeginteropX, my goal is to be able to draw the frames from ffmpeg onto a texture within Unity. Currently I can draw to the Unity texture, and I can capture the frames from ffmpeg, but I cannot figure out how to combine the two. Previously I manually copied the frames via Unity but it was insanely slow copying from the GPU and CPU.