I am using DirectShow to capture images from a USB-connected camera. My goal is to have the captured camera image on DirectX 11 Texture2D to use it for rendering, and I would like it to happen automatically by DirectShow graph, without having the buffers being copied to the user space at all.
Looked at many examples/threads, but could not see how to do exactly that. I find many recommendations to use Media Foundation instead, but for current project it's not an option at this point.
There seem to be examples of playback on DirectX 9 texture, maybe there is a way to get a "Dx9" texture out of "Dx11" and use it in the rendering later?