minecraft-pi-reborn/media-layer/include/media-layer/core.h
2021-11-13 23:29:48 -05:00

24 lines
446 B
C

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// Default Window Size
#define DEFAULT_WIDTH 840
#define DEFAULT_HEIGHT 480
void media_ensure_loaded();
void media_take_screenshot(char *home);
void media_toggle_fullscreen();
void media_swap_buffers();
void media_cleanup();
void media_get_framebuffer_size(int *width, int *height);
void media_set_interactable(int is_interactable);
void media_disable_vsync();
#ifdef __cplusplus
}
#endif