al_draw_vertex_buffer(3alleg5) | al_draw_vertex_buffer(3alleg5) |
al_draw_vertex_buffer - Allegro 5 API
#include <allegro5/allegro_primitives.h> int al_draw_vertex_buffer(ALLEGRO_VERTEX_BUFFER* vertex_buffer, ALLEGRO_BITMAP* texture, int start, int end, int type)
Draws a subset of the passed vertex buffer. The vertex buffer must not be locked. Additionally, to draw onto memory bitmaps or with memory bitmap textures the vertex buffer must support reading (i.e. it must be created with the ALLEGRO_PRIM_BUFFER_READWRITE).
Parameters:
Returns: Number of primitives drawn
5.1.3
Allegro reference manual |