Skip to main content
gamedev.net
🔒 Locked

buffer usage

Started by Quat Jun 19, 2007 at 10:59 AM 0 replies 1.4k views
Original Post
Quat
Quat
I am going through the first tutorial for D3D10 and have a question on the swap chain description buffer usage member. Which one should it be: DXGI_USAGE_RENDER_TARGET_OUTPUT Use the surface or resource as an output render target. DXGI_USAGE_BACK_BUFFER Use the surface or resource as a back buffer. The tutorial uses DXGI_USAGE_RENDER_TARGET_OUTPUT, but since this is a back buffer, the flag DXGI_USAGE_BACK_BUFFER seems to make sense too. So can someone explain why there are two here, and when to use one over the other.
-----Quat

Topic Locked

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

Sign in to reply to this topic.