DX10: Render back buffer to texture

Started by
0 comments, last by Yourself 11 years, 1 month ago

I want to render the back buffer to another texture (performing scaling and other operations). If the back buffer wasn't created with the D3D10_BIND_SHADER_RESOURCE flag, is my only option then to create an intermediate texture (where I *do* set D3D10_BIND_SHADER_RESOURCE), use CopyResource() to copy the back buffer to the intermediate texture, and then bind the intermediate texture for rendering to my render target texture?

Advertisement

Yes, as far as I know copying is the only solution here.

This topic is closed to new replies.

Advertisement