1al_store_state(3) al_store_state(3)
2
3
4
6 al_store_state - Allegro 5 API
7
9 void al_store_state(ALLEGRO_STATE *state, int flags)
10
12 Stores part of the state of the current thread in the given ALLE‐
13 GRO_STATE(3) object. The flags parameter can take any bit-combination
14 of these flags:
15
16 · ALLEGRO_STATE_NEW_DISPLAY_PARAMETERS - new_display_format, new_dis‐
17 play_refresh_rate, new_display_flags
18
19 · ALLEGRO_STATE_NEW_BITMAP_PARAMETERS - new_bitmap_format, new_bit‐
20 map_flags
21
22 · ALLEGRO_STATE_DISPLAY - current_display
23
24 · ALLEGRO_STATE_TARGET_BITMAP - target_bitmap
25
26 · ALLEGRO_STATE_BLENDER - blender
27
28 · ALLEGRO_STATE_TRANSFORM - current_transformation
29
30 · ALLEGRO_STATE_PROJECTION_TRANSFORM - current_projection_transforma‐
31 tion
32
33 · ALLEGRO_STATE_NEW_FILE_INTERFACE - new_file_interface
34
35 · ALLEGRO_STATE_BITMAP - same as ALLEGRO_STATE_NEW_BITMAP_PARAMETERS
36 and ALLEGRO_STATE_TARGET_BITMAP
37
38 · ALLEGRO_STATE_ALL - all of the above
39
41 al_restore_state(3), ALLEGRO_STATE(3)
42
43
44
45Allegro reference manual al_store_state(3)