Before you draw lines you need creat a buffer for
your lines. This method create a buffer with parameters, and allocate
the buffer in the memory.
maxpoints: Number of points of lines that this buffer can store.
ttype: Storing functions:
When you add a new point to the buffer (see:
AddLineVertex ), the buffer increasez his position automatically in the
buffer.
But the buffer can be full, when you achieve the end of buffer. So you can set the behavior of end of buffer.
_NOOVERLOAD: You will get a error.
_FIFO: The pointer of lines position will jump to zero, but the engine will render the whole buffer.
_LINEARRAY_2D: Flag. It means the coordinates are in pixels. //>=V2.6
_LINEARRAY_NOCOLOR: Wide lines, withouth vertexcolor //>=V2.6
_LINEARRAY_COLOR: dots with vertexcolor, it is the normal
mode //This flag is neccessary on
>=V2.6