Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Buffers


purplystuff
 Share

Recommended Posts

There are 2 buffers. One is for graphics (generally used everywhere) and the other is used in Eclipse (not sure if it is used anywhere else)

A buffer basically means a temporary position on the RAM where data is held before being used.

In the eclipse networking the buffer is an array of bytes that holds data to be send from the client to the server and vice-versa. This array after being 'fed' the information is then sent.

In graphics a buffer is a picture. (for example a bmp) You should know that while a frame is being shown on the screen there is will be an idle time for the graphics card. This idle time can be utilized effiecently by using a buffer. Since a frame is being shown it shouldn't be 'over-drawn'. Therefore a buffer used. To this buffer the next frame is rendered and when the current frame has finished rendering the frame rendered from the buffer is 'fliped' onto the screen. After which the next frame starts to be rendered on the buffer.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...