MLX42 1.0
MLX42
|
#include "MLX42/MLX42_Int.h"
Go to the source code of this file.
Functions | |
static void | mlx_exec_loop_hooks (mlx_t *mlx) |
static void | mlx_render_images (mlx_t *mlx) |
bool | mlx_loop_hook (mlx_t *mlx, void(*f)(void *), void *param) |
void | mlx_loop (mlx_t *mlx) |
Definition at line 17 of file mlx_loop.c.
In Emscripten the lood is defined differently, there the this function is passed to the while loop instead
Definition at line 97 of file mlx_loop.c.
Generic loop hook for any custom hooks to add to the main loop. Executes a function per frame, so be careful.
[in] | mlx | The MLX instance handle. |
[in] | f | The function. |
[in] | param | The parameter to pass on to the function. |
Definition at line 70 of file mlx_loop.c.
Definition at line 30 of file mlx_loop.c.