Module ffi

Source

Functions§

begin_drawing
begin_texture_mode
clear_background
Set background color (framebuffer clear color)
clear_window_state
Clear window configuration state flags
close_window
Close window and unload OpenGL context
draw_fps
Draw current FPS
draw_rectangle_rec
Draw a color-filled rectangle
draw_text
Draw text (using default font)
draw_texture
Draw a Texture
draw_texture_pro
Draw a part of a Texture defined by a Rectangle with ‘pro’ parameters
end_drawing
end_texture_mode
get_fps
Get current FPS
get_frame_time
Get time in seconds for last frame drawn (delta time)
get_mouse_position
Get mouse position XY
get_mouse_x
Get mouse position X
get_mouse_y
Get mouse position Y
get_screen_height
Get current screen height
get_screen_width
Get current screen width
get_time
Get elapsed time in seconds since InitWindow()
init_window
Initialize window and OpenGL context
is_mouse_button_down
Check if a mouse button is beening pressed
is_window_focused
Check if window is currently focused
is_window_fullscreen
Check if window is currently fullscreen
is_window_hidden
Check if window is currently hidden
is_window_maximized
Check if window is currently maximized
is_window_minimized
Check if window is currently minimized
is_window_ready
Check if window has been initialized successfully
is_window_resized
Check if window has been resized last frame
is_window_state
Check if one specific window flag is enabled
load_render_texture
load_texture
set_config_flags
Setup init configuration flags
set_target_fps
Set target FPS (maximum)
set_window_focused
Set window focused
set_window_opacity
Set window opacity [0.0..1.0]
set_window_size
Set window dimension
set_window_state
Set window configuration state using flags
unload_render_texture
unload_texture
window_should_close
Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)