Function gpu_drawarrays
#include <macawgpu.h>void gpu_drawarrays(const char *mode, int buf, int first, int count);
Parameters
modeconst char *- What the corners make, as for
gpu_begin, like"triangles". bufint- The buffer, from
gpu_buffer. firstint- The first corner to draw, counting from 0.
countint- How many corners to draw. -1 draws all the rest.
In Buffers, with gpu_buffer, gpu_bufferset, gpu_buffercount, gpu_freebuffer, gpu_indices, gpu_freeindices, gpu_drawelements.