DOKK / manpages / debian 12 / allegro5-doc / ALLEGRO_INDEX_BUFFER.3alleg5.en
ALLEGRO_INDEX_BUFFER(3alleg5) ALLEGRO_INDEX_BUFFER(3alleg5)

ALLEGRO_INDEX_BUFFER - Allegro 5 API

#include <allegro5/allegro_primitives.h>
typedef struct ALLEGRO_INDEX_BUFFER ALLEGRO_INDEX_BUFFER;
    

A GPU index buffer that you can use to store indices of vertices in a vertex buffer on the GPU instead of uploading them afresh during every drawing operation.

5.1.8

al_create_index_buffer(3alleg5), al_destroy_index_buffer(3alleg5)

Allegro reference manual