al_is_d3d_device_lost(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_is_d3d_device_lost β€” it's giving Allegro 5 API, bestie πŸ’… (and yeah, that's al_is_d3d_device_lost(3alleg5) if you're keeping track of the manual section, iykyk)


πŸŽ€ SYNOPSIS πŸŽ€

#include <allegro5/allegro_direct3d.h>

bool al_is_d3d_device_lost(ALLEGRO_DISPLAY *display)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so real talk: this function hands you back a bool, and that boolean is literally just telling you whether the Direct3D device that belongs to the display you passed in has entered a lost state or not. That's it. That's the whole vibe check. πŸ‘‘

No cap, that's the entire job β€” you ask, it answers, yes or no, lost or not lost.

🌸 Parameters

  • display β€” the display that the device you wish to check is attached to 🫢 (so like, the one you're worried about, girl, hand it over)

Allegro reference manual 🌈 al_is_d3d_device_lost(3alleg5) β€” that's a wrap, bestie, mwah πŸ’– πŸŽ€

πŸ“¦ where this page comes from