Anybody able to help me with buffers in orgins… I’m new to the engine and I am failing with these buffers… any help would be appreciated.
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.
You could check out how the other subs send data and do the same thing. If you tried that and it doesn’t work then come back and we can help you.