What is Back and Front Buffer?

Started by
1 comment, last by Sik_the_hedgehog 12 years, 3 months ago
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
Advertisement
One that is on your monitor vs the one being drawn to right now.

NBA2K, Madden, Maneater, Killing Floor, Sims http://www.pawlowskipinball.com/pinballeternal

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).
Don't pay much attention to "the hedgehog" in my nick, it's just because "Sik" was already taken =/ By the way, Sik is pronounced like seek, not like sick.

This topic is closed to new replies.

Advertisement