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)