   What is a buffer?
  I''ve been programming games for a little bit, read through some books and everything but what exactly is a buffer? I never really knew.   R.I.P. Mark OsbackSolo Pa Mi GenteVG-Force
  dude, read a dictionary ;Have you ever heard of the internet?;  Simply put, a buffer is a chunk of memory set aside so you can preprocess data for use somewhere else.  A common example is a screen buffer in graphics rendering.  You process all the graphics in the screen buffer first so you can throw it all onto the screen at once, instead of rendering each graphic to the screen one at a time, which tends to cause choppiness or flicker.;  One that buffs ;  Person A is buffer than person B. ;  Rather like a mopper.   I like pie. ;  sheesh, be a little more kind here. This is what boards are for.A buffer is simply a region of memory. There are many types of buffers: video buffers, sound buffers, etc.char buffer[80];that could be called a buffer, used to store stuff. a video buffer would look like this:unsigned char video_buffer[640*480*32] where the size of the buffer, is, obviously 640*480*32 (640x480x32 bits).You''ll get a "feel" for them after doing some DirectDraw stuff (yes, ancient, I know).;quote:Original post by Cipher3D  [...]unsigned char video_buffer[640*480*32] where the size of the buffer, is, obviously 640*480*32 (640x480x32 bits).[...]Actually, that would be 640*480*256 bits. You''d need 640*480*4 for the 32bit version. ;  same difference 