Skip to main content
GameDev.net gamedev.net
🔒 Locked

DX10: Render back buffer to texture

Started by dreijer Mar 14, 2013 at 3:20 PM 0 replies 2.1k views
Original Post
dreijer
dreijer

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?

Yourself
Yourself

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.