ALLEGRO_VIDEO_EVENT_TYPE - Allegro 5 API
Contents
Description
Events sent by al_get_video_event_source(3alleg5).
ALLEGRO_EVENT_VIDEO_FRAME_SHOW
This event is sent when it is time to show a new frame. Once you receive this event, you can draw the
current frame (as returned by al_get_video_frame(3alleg5)). al_get_video_frame(3alleg5) will continue
returning the same frame until the next ALLEGRO_EVENT_VIDEO_FRAME_SHOW is sent.
user.data1 (ALLEGRO_VIDEO *)
The video which generated the event.
Name
ALLEGRO_VIDEO_EVENT_TYPE - Allegro 5 API
Since
5.1.0
Allegro reference manual ALLEGRO_VIDEO_EVENT_TYPE(3alleg5)
Synopsis
#include <allegro5/allegro_video.h>
enum ALLEGRO_VIDEO_EVENT_TYPE
