1al_lock_index_buffer(3)                                al_lock_index_buffer(3)
2
3
4

NAME

6       al_lock_index_buffer - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_primitives.h>
10
11              void* al_lock_index_buffer(ALLEGRO_INDEX_BUFFER* buffer, int offset,
12                  int length, int flags)
13

DESCRIPTION

15       Locks  a  index buffer so you can access its data.  Will return NULL if
16       the parameters are invalid, if reading is requested from a  write  only
17       buffer and if the buffer is already locked.
18
19       Parameters:
20
21       • buffer - Index buffer to lock
22
23       • offset - Element index of the start of the locked range
24
25       • length - How many indices to lock
26
27       • flags   -   ALLEGRO_LOCK_READONLY,  ALLEGRO_LOCK_WRITEONLY  or  ALLE‐
28         GRO_LOCK_READWRITE
29

SINCE

31       5.1.8
32

SEE ALSO

34       ALLEGRO_INDEX_BUFFER(3), al_unlock_index_buffer(3)
35
36
37
38Allegro reference manual                               al_lock_index_buffer(3)
Impressum