Jump to content
  • Advertisement
Sign in to follow this  
kc_0045

OpenGL Buffers....

This topic is 4898 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

Ok, i have to ask. im rather new to opengl, and game programming....but what is a buffer? like i read things about like offscreen buffers, depth buffers ect...but i havent been able to find anything that explains in plain english what they are... anyone know of any good acticles?

Share this post


Link to post
Share on other sites
Advertisement
A buffer is simply a term for any block of memory that has been chosen to store some arbitrary data.

Examples in terms of graphics are say the back buffer. This is a buffer that is reserved somewhere in memory to store the visuals.

ace

Share this post


Link to post
Share on other sites
A buffer also refers to a place to store something. That also includes the buffer where the Z-depth is stored. Also the stencil and accumulation buffers as well. For example, the stencil buffer is where a value is stored that is used to determine simply whether to draw or not to draw. Also, a buffer is what is called the memory where you temporarily store things like RGB values of bitmaps, things like that.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!