Avoiding Render Target/Depth Buffer Resolves

Started by
1 comment, last by L. Spiro 11 years, 12 months ago
Is there a flag that can be set on a surface to tell it not to resolve after rendering to it? In OpenGL ES for iOS there is a way to discard framebuffer attachments to avoid the resolving process, and I am looking for anything similar in Direct3D 9 (or 10 or 11 when I get there).

I know that this is easy to do in Xbox 360 (simply don’t resolve it) but I have heard something about a flag that can be set on surfaces, though it was not clear if it was for desktops or consoles. Since the act of resolving on consoles is manual, I would assume flags would only be useful on desktops, but I can’t find one.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

Advertisement
Resolves are manual for all render targets in D3D9/10/11, with the exception of the back buffer you get from the swap chain. In D3D9 you use StretchRect to resolve, in D3D10/11 you use ResolveSubresource.
I see. That answers my question and clears up some other issues I had all at once.
Thank you.


L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

This topic is closed to new replies.

Advertisement