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

Frame buffer objects?

Started by blaze02 Aug 27, 2006 at 5:19 PM 0 replies 6.3k views
Original Post
blaze02
blaze02
What is the DirectX equivalent of the OpenGL frame buffer object? Is it just specifying the usage_dynamic flag? Thanks in advance.
b3rs3rk
b3rs3rk
Render-to-Texture ^_^ In a nutshell, you can create a texture with the D3DUSAGE_RENDERTARGET flag, get the surface and then set it as the render target with pDevice->SetRenderTarget().

Take a look at this tutorial: http://www.two-kings.de/tutorials/dxgraphics/dxgraphics16.html
Hope it helps :)

Topic Locked

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

Sign in to reply to this topic.