al_store_state(3)
πΎ al_store_state(3) πΎ
Welcome to the Library Functions Manual, bestie β this one is pure Allegro 5 API state-saving business. π«Ά
πΈ NAME πΈ
al_store_state β Allegro 5 API
β¨ SYNOPSIS β¨
void al_store_state(ALLEGRO_STATE *state, int flags)
π¦ DESCRIPTION π¦
Okay so hereβs the vibe: al_store_state stores part of the state of the current thread in the given ALLEGRO_STATE(3) object. The flags parameter can take any bit-combination of these flags:
ALLEGRO_STATE_NEW_DISPLAY_PARAMETERSβ grabsnew_display_format,new_display_refresh_rate,new_display_flagsALLEGRO_STATE_NEW_BITMAP_PARAMETERSβ grabsnew_bitmap_format,new_bitmap_flagsALLEGRO_STATE_DISPLAYβ grabscurrent_displayALLEGRO_STATE_TARGET_BITMAPβ grabstarget_bitmapALLEGRO_STATE_BLENDERβ grabsblenderALLEGRO_STATE_TRANSFORMβ grabscurrent_transformationALLEGRO_STATE_PROJECTION_TRANSFORMβ grabscurrent_projection_transformationALLEGRO_STATE_NEW_FILE_INTERFACEβ grabsnew_file_interfaceALLEGRO_STATE_BITMAPβ same asALLEGRO_STATE_NEW_BITMAP_PARAMETERSandALLEGRO_STATE_TARGET_BITMAPALLEGRO_STATE_ALLβ all of the above
Bestie note: itβs a bit-combination, so the flags list is your whole menu. π
π SEE ALSO π
Thatβs the page, bestie. Signed by the Allegro reference manual source line and stamped al_store_state(3) β no version or date in this footer, so thatβs the whole flex. πβ¨
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms