Using c++ in visual studio 2008. How can I render d3d content as a directshow source filter.
Matt
Using c++ in visual studio 2008. How can I render d3d content as a directshow source filter.
Matt
Why is DirectShow involved? A DirectShow source filter provides a stream of data for other filters to process. Direct3D is an API that allows for accessing the graphics card for rendering. DirectShow and Direct3D are two separate things.
If you want to render Direct3D content, then you use Direct3D. There are some Direct3D 9.0 samples here for you to examine. I suggest you start looking at the "Initialization" sample and work upwards from there.
Edit: If we're not talking about a full-blown high-performance graphics solution, you can refer to this Stack Overflow question and this MSDN forum question. Hopefully it can get you started.
There's a nice example video source filter at http://tmhare.mvps.org/downloads.htm "capture source filter"