Functions§
- begin_
drawing ⚠ - Setup canvas (framebuffer) to start drawing
- begin_
texture_ ⚠mode - Begin drawing to render texture
- clear_
background ⚠ - Set background color (framebuffer clear color)
- clear_
window_ ⚠state - Clear window configuration state flags
- close_
audio_ ⚠device - Close the audio device and context
- close_
window ⚠ - Close window and unload OpenGL context
- disable_
cursor ⚠ - Disabled cursor (lock cursor)
- disable_
event_ ⚠waiting - Disable waiting for events on end_drawing, automatic event polling
- 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_ ⚠ex - Draw a Texture with extended parameters
- draw_
texture_ ⚠pro - Draw a part of a Texture defined by a Rectangle with ‘pro’ parameters
- draw_
texture_ ⚠rec - Draw a part of a Texture defined by a Rectangle
- draw_
texture_ ⚠v - Draw a Texture with position defined as Vector2
- enable_
cursor ⚠ - Enables cursor (unlock cursor)
- enable_
event_ ⚠waiting - Enable waiting for events on end_drawing, no automatic event polling
- end_
drawing ⚠ - End canvas drawing and swap buffers (double buffering)
- end_
texture_ ⚠mode - Ends drawing to render texture
- gen_
texture_ ⚠mipmaps - Generate GPU mipmaps for a texture
- get_
clipboard_ ⚠image - Get clipboard image content
- get_
clipboard_ ⚠text - Get clipboard text content
- get_
current_ ⚠monitor - Get current monitor where window is placed
- get_fps⚠
- Get current FPS
- get_
frame_ ⚠time - Get time in seconds for last frame drawn (delta time)
- get_
master_ ⚠volume - Get master volume (listener)
- get_
monitor_ ⚠count - Get number of connected monitors
- get_
monitor_ ⚠height - Get specified monitor height (current video mode used by monitor)
- get_
monitor_ ⚠name - Get the human-readable, UTF-8 encoded name of the specified monitor
- get_
monitor_ ⚠physical_ height - Get specified monitor physical height in millimetres
- get_
monitor_ ⚠physical_ width - Get specified monitor physical width in millimetres
- get_
monitor_ ⚠position - Get specified monitor position
- get_
monitor_ ⚠refresh_ rate - Get specified monitor refresh rate
- get_
monitor_ ⚠width - Get specified monitor width (current video mode used by monitor)
- get_
mouse_ ⚠position - Get mouse position XY
- get_
mouse_ ⚠x - Get mouse position X
- get_
mouse_ ⚠y - Get mouse position Y
- get_
render_ ⚠height - Get current render height (it considers HiDPI)
- get_
render_ ⚠width - Get current render width (it considers HiDPI)
- get_
screen_ ⚠height - Get current screen height
- get_
screen_ ⚠width - Get current screen width
- get_
time ⚠ - Get elapsed time in seconds since InitWindow()
- get_
window_ ⚠position - Get position XY on monitor
- get_
window_ ⚠scale_ dpi - Get window scale DPI factor
- hide_
cursor ⚠ - Hides cursor
- init_
audio_ ⚠device - Initialize audio device and context
- init_
window ⚠ - Initialize window and OpenGL context
- is_
audio_ ⚠device_ ready - Check if audio device has been initialized successfully
- is_
cursor_ ⚠hidden - Check if cursor is not visible
- is_
cursor_ ⚠on_ screen - Check if cursor is on the screen
- is_
mouse_ ⚠button_ down - Check if a mouse button is beening pressed
- is_
render_ ⚠texture_ valid - Check if a render texture is valid (loaded in GPU)
- is_
texture_ ⚠valid - Check if a texture is valid (loaded in GPU)
- 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 for rendering (framebuffer)
- load_
texture ⚠ - Load texture from file into GPU memory (VRAM)
- load_
texture_ ⚠from_ image - Load texture from image data
- maximize_
window ⚠ - Set window state: maximized, if resizable
- measure_
text ⚠ - Measure string width for default font
- minimize_
window ⚠ - Set window state: minimized, if resizable
- restore_
window ⚠ - Set window state: not minimized/maximized
- set_
clipboard_ ⚠text - Set clipboard text content
- set_
config_ ⚠flags - Setup init configuration flags
- set_
master_ ⚠volume - Set master volume (listener)
- set_
target_ ⚠fps - Set target FPS (maximum)
- set_
texture_ ⚠filter - Set texture scaling filter mode
- set_
texture_ ⚠wrap - Set texture wrapping mode
- set_
window_ ⚠focused - Set window focused
- set_
window_ ⚠icon - Set icon for window (single image, RGBA 32bit)
- set_
window_ ⚠icons - Set icon for window (multiple images, RGBA 32bit)
- set_
window_ ⚠max_ size - Set window maximum dimensions (for ConfigFlag::WindowResizable)
- set_
window_ ⚠min_ size - Set window minimum dimensions (for ConfigFlag::WindowResizable)
- set_
window_ ⚠monitor - Set monitor for the current window
- set_
window_ ⚠opacity - Set window opacity [0.0..1.0]
- set_
window_ ⚠position - Set window position on screen
- set_
window_ ⚠size - Set window dimension
- set_
window_ ⚠state - Set window configuration state using flags
- set_
window_ ⚠title - Set title for window
- show_
cursor ⚠ - Shows cursor
- toggle_
borderless_ ⚠windowed - Toggle window state: borderless windowed, resizes window to match monitor resolution
- toggle_
fullscreen ⚠ - Toggle window state: fullscreen/windowed, resizes monitor to match window resolution
- unload_
render_ ⚠texture - Unload render texture from GPU memory (VRAM)
- unload_
texture ⚠ - Unload texture from GPU memory (VRAM)
- update_
texture ⚠ - Update GPU texture with new data
- update_
texture_ ⚠rec - Update GPU texture rectangle with new data
- window_
should_ ⚠close - Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)