Jump to content
  • Advertisement
Sign in to follow this  
Lord_Danny

OpenGL What is Back and Front Buffer?

This topic is 2520 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys,

can someone explain what is a Front Buffer and Back Buffer in openGL? I've tried looking around, but i don't get it. Something to do with Framebuffer as far as I know that I've read on wiki,

Anyway, any help will be great.

Thanks in advanced

Share this post


Link to post
Share on other sites
Advertisement
Front buffer = what is being shown on screen (the last frame)
Back buffer = where you're currently drawing (the current frame)

Basically: the front buffer is displayed on screen and you draw to the back buffer, then you swap them when you're done drawing (so the image in the back buffer is shown). This is so the user never sees a partially drawn image as you're updating the screen (they see the last complete image, i.e. the front buffer).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!