Expand description
Raw ffi bindings
Modules§
Structs§
- Audio
Stream - AudioStream, custom audio stream
- Bone
Info - Bone, skeletal animation bone
- Bounding
Box - BoundingBox
- Camera2D
- Camera2D, defines position/orientation in 2d space
- Camera3D
- Camera, defines position/orientation in 3d space
- Color
- Color, 4 components, R8G8B8A8 (32bit)
- Config
Flags - System/Window config flags
- File
Path List - File path list
- Font
- Font, font texture and GlyphInfo array data
- Gesture
- Gesture
- Glyph
Info - GlyphInfo, font characters glyphs info
- Image
- Image, pixel data stored in CPU memory (RAM)
- Material
- Material, includes shader and maps
- Material
Map - MaterialMap
- Matrix
- Matrix, 4x4 components, column major, OpenGL style, right-handed
- Mesh
- Mesh, vertex data and vao/vbo
- Model
- Model, meshes, materials and animation data
- Model
Animation - ModelAnimation
- Music
- Music, audio stream, anything longer than ~10 seconds should be streamed
- NPatch
Info - NPatchInfo, n-patch layout info
- Ray
- Ray, ray for raycasting
- RayCollision
- RayCollision, ray hit information
- Rectangle
- Rectangle, 4 components
- Render
Texture - RenderTexture, fbo for texture rendering
- Shader
- Shader
- Sound
- Sound
- Texture
- Texture, tex data stored in GPU memory (VRAM)
- Transform
- Transform, vertex transformation data
- Vector2
- Vector2, 2 components
- Vector3
- Vector3, 3 components
- Vector4
- Vector4, 4 components
- VrDevice
Info - VrDeviceInfo, Head-Mounted-Display device parameters
- VrStereo
Config - VrStereoConfig, VR stereo rendering configuration for simulator
- Wave
- Wave, audio wave data
- rAudio
Buffer - rAudio
Processor
Enums§
- Blend
Mode - Color blending modes (pre-defined)
- Camera
Mode - Camera system modes
- Camera
Projection - Camera projection
- Cubemap
Layout - Cubemap layouts
- Font
Type - Font type, defines generation method
- Gamepad
Axis - Gamepad axis
- Gamepad
Button - Gamepad buttons
- Keyboard
Key - Keyboard keys (US keyboard layout)
- Material
MapIndex - Material map index
- Mouse
Button - Mouse buttons
- Mouse
Cursor - Mouse cursor
- NPatch
Layout - N-patch layout
- Pixel
Format - Pixel formats
- Shader
Attribute Data Type - Shader attribute data types
- Shader
Location Index - Shader location index
- Shader
Uniform Data Type - Shader uniform data type
- Texture
Filter - Texture parameters: filter mode
- Texture
Wrap - Texture parameters: wrap mode
- Trace
LogLevel - Trace log level
Constants§
- MAX_
MATERIAL_ MAPS - MAX_
SHADER_ LOCATIONS - RAYLIB_
VERSION - RAYLIB_
VERSION_ MAJOR - RAYLIB_
VERSION_ MINOR - RAYLIB_
VERSION_ PATCH
Functions§
- Attach
Audio ⚠Mixed Processor - Attach audio stream processor to the entire audio pipeline
- Attach
Audio ⚠Stream Processor - Attach audio stream processor to stream
- Begin
Blend ⚠Mode - Begin blending mode (alpha, additive, multiplied, subtract, custom)
- Begin
Drawing ⚠ - Setup canvas (framebuffer) to start drawing
- Begin
Mode2D ⚠ - Begin 2D mode with custom camera (2D)
- Begin
Mode3D ⚠ - Begin 3D mode with custom camera (3D)
- Begin
Scissor ⚠Mode - Begin scissor mode (define screen area for following drawing)
- Begin
Shader ⚠Mode - Begin custom shader drawing
- Begin
Texture ⚠Mode - Begin drawing to render texture
- Begin
VrStereo ⚠Mode - Begin stereo rendering (requires VR simulator)
- Change
Directory ⚠ - Change working directory, return true on success
- Check
Collision ⚠BoxSphere - Check collision between box and sphere
- Check
Collision ⚠Boxes - Check collision between two bounding boxes
- Check
Collision ⚠Circle Rec - Check collision between circle and rectangle
- Check
Collision ⚠Circles - Check collision between two circles
- Check
Collision ⚠Lines - Check the collision between two lines defined by two points each, returns collision point by reference
- Check
Collision ⚠Point Circle - Check if point is inside circle
- Check
Collision ⚠Point Line - Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]
- Check
Collision ⚠Point Poly - Check if point is within a polygon described by array of vertices
- Check
Collision ⚠Point Rec - Check if point is inside rectangle
- Check
Collision ⚠Point Triangle - Check if point is inside a triangle
- Check
Collision ⚠Recs - Check collision between two rectangles
- Check
Collision ⚠Spheres - Check collision between two spheres
- 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
- Codepoint
ToUT ⚠F8 - Encode one codepoint into UTF-8 byte array (array length returned as parameter)
- Color
Alpha ⚠ - Get color with alpha applied, alpha goes from 0.0f to 1.0f
- Color
Alpha ⚠Blend - Get src alpha-blended into dst color with tint
- Color
Brightness ⚠ - Get color with brightness correction, brightness factor goes from -1.0f to 1.0f
- Color
Contrast ⚠ - Get color with contrast correction, contrast values between -1.0f and 1.0f
- Color
FromHSV ⚠ - Get a Color from HSV values, hue [0..360], saturation/value [0..1]
- Color
From ⚠Normalized - Get Color from normalized values [0..1]
- Color
Normalize ⚠ - Get Color normalized as float [0..1]
- Color
Tint ⚠ - Get color multiplied with another color
- Color
ToHSV ⚠ - Get HSV values for a Color, hue [0..360], saturation/value [0..1]
- Color
ToInt ⚠ - Get hexadecimal value for a Color
- Compress
Data ⚠ - Compress data (DEFLATE algorithm), memory must be MemFree()
- Decode
Data ⚠Base64 - Decode Base64 string data, memory must be MemFree()
- Decompress
Data ⚠ - Decompress data (DEFLATE algorithm), memory must be MemFree()
- Detach
Audio ⚠Mixed Processor - Detach audio stream processor from the entire audio pipeline
- Detach
Audio ⚠Stream Processor - Detach audio stream processor from stream
- Directory
Exists ⚠ - Check if a directory path exists
- Disable
Cursor ⚠ - Disables cursor (lock cursor)
- Disable
Event ⚠Waiting - Disable waiting for events on EndDrawing(), automatic events polling
- Draw
Billboard ⚠ - Draw a billboard texture
- Draw
Billboard ⚠Pro - Draw a billboard texture defined by source and rotation
- Draw
Billboard ⚠Rec - Draw a billboard texture defined by source
- Draw
Bounding ⚠Box - Draw bounding box (wires)
- Draw
Capsule ⚠ - Draw a capsule with the center of its sphere caps at startPos and endPos
- Draw
Capsule ⚠Wires - Draw capsule wireframe with the center of its sphere caps at startPos and endPos
- Draw
Circle ⚠ - Draw a color-filled circle
- Draw
Circle3D ⚠ - Draw a circle in 3D world space
- Draw
Circle ⚠Gradient - Draw a gradient-filled circle
- Draw
Circle ⚠Lines - Draw circle outline
- Draw
Circle ⚠Sector - Draw a piece of a circle
- Draw
Circle ⚠Sector Lines - Draw circle sector outline
- Draw
CircleV ⚠ - Draw a color-filled circle (Vector version)
- Draw
Cube ⚠ - Draw cube
- Draw
CubeV ⚠ - Draw cube (Vector version)
- Draw
Cube ⚠Wires - Draw cube wires
- Draw
Cube ⚠WiresV - Draw cube wires (Vector version)
- Draw
Cylinder ⚠ - Draw a cylinder/cone
- Draw
Cylinder ⚠Ex - Draw a cylinder with base at startPos and top at endPos
- Draw
Cylinder ⚠Wires - Draw a cylinder/cone wires
- Draw
Cylinder ⚠Wires Ex - Draw a cylinder wires with base at startPos and top at endPos
- Draw
Ellipse ⚠ - Draw ellipse
- Draw
Ellipse ⚠Lines - Draw ellipse outline
- DrawFPS⚠
- Draw current FPS
- Draw
Grid ⚠ - Draw a grid (centered at (0, 0, 0))
- Draw
Line ⚠ - Draw a line
- Draw
Line3D ⚠ - Draw a line in 3D world space
- Draw
Line ⚠Bezier - Draw a line using cubic-bezier curves in-out
- Draw
Line ⚠Bezier Cubic - Draw line using cubic bezier curves with 2 control points
- Draw
Line ⚠Bezier Quad - Draw line using quadratic bezier curves with a control point
- Draw
Line ⚠Ex - Draw a line defining thickness
- Draw
Line ⚠Strip - Draw lines sequence
- Draw
LineV ⚠ - Draw a line (Vector version)
- Draw
Mesh ⚠ - Draw a 3d mesh with material and transform
- Draw
Mesh ⚠Instanced - Draw multiple mesh instances with material and different transforms
- Draw
Model ⚠ - Draw a model (with texture if set)
- Draw
Model ⚠Ex - Draw a model with extended parameters
- Draw
Model ⚠Wires - Draw a model wires (with texture if set)
- Draw
Model ⚠Wires Ex - Draw a model wires (with texture if set) with extended parameters
- Draw
Pixel ⚠ - Draw a pixel
- Draw
PixelV ⚠ - Draw a pixel (Vector version)
- Draw
Plane ⚠ - Draw a plane XZ
- Draw
Point3D ⚠ - Draw a point in 3D space, actually a small line
- Draw
Poly ⚠ - Draw a regular polygon (Vector version)
- Draw
Poly ⚠Lines - Draw a polygon outline of n sides
- Draw
Poly ⚠Lines Ex - Draw a polygon outline of n sides with extended parameters
- DrawRay⚠
- Draw a ray line
- Draw
Rectangle ⚠ - Draw a color-filled rectangle
- Draw
Rectangle ⚠Gradient Ex - Draw a gradient-filled rectangle with custom vertex colors
- Draw
Rectangle ⚠GradientH - Draw a horizontal-gradient-filled rectangle
- Draw
Rectangle ⚠GradientV - Draw a vertical-gradient-filled rectangle
- Draw
Rectangle ⚠Lines - Draw rectangle outline
- Draw
Rectangle ⚠Lines Ex - Draw rectangle outline with extended parameters
- Draw
Rectangle ⚠Pro - Draw a color-filled rectangle with pro parameters
- Draw
Rectangle ⚠Rec - Draw a color-filled rectangle
- Draw
Rectangle ⚠Rounded - Draw rectangle with rounded edges
- Draw
Rectangle ⚠Rounded Lines - Draw rectangle with rounded edges outline
- Draw
RectangleV ⚠ - Draw a color-filled rectangle (Vector version)
- Draw
Ring ⚠ - Draw ring
- Draw
Ring ⚠Lines - Draw ring outline
- Draw
Sphere ⚠ - Draw sphere
- Draw
Sphere ⚠Ex - Draw sphere with extended parameters
- Draw
Sphere ⚠Wires - Draw sphere wires
- Draw
Text ⚠ - Draw text (using default font)
- Draw
Text ⚠Codepoint - Draw one character (codepoint)
- Draw
Text ⚠Codepoints - Draw multiple character (codepoint)
- Draw
Text ⚠Ex - Draw text using font and additional parameters
- Draw
Text ⚠Pro - Draw text using Font and pro parameters (rotation)
- Draw
Texture ⚠ - Draw a Texture2D
- Draw
Texture ⚠Ex - Draw a Texture2D with extended parameters
- Draw
TextureN ⚠Patch - Draws a texture (or part of it) that stretches or shrinks nicely
- 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
TextureV ⚠ - Draw a Texture2D with position defined as Vector2
- Draw
Triangle ⚠ - Draw a color-filled triangle (vertex in counter-clockwise order!)
- Draw
Triangle3D ⚠ - Draw a color-filled triangle (vertex in counter-clockwise order!)
- Draw
Triangle ⚠Fan - Draw a triangle fan defined by points (first vertex is the center)
- Draw
Triangle ⚠Lines - Draw triangle outline (vertex in counter-clockwise order!)
- Draw
Triangle ⚠Strip - Draw a triangle strip defined by points
- Draw
Triangle ⚠Strip3D - Draw a triangle strip defined by points
- Enable
Cursor ⚠ - Enables cursor (unlock cursor)
- Enable
Event ⚠Waiting - Enable waiting for events on EndDrawing(), no automatic event polling
- Encode
Data ⚠Base64 - Encode data to Base64 string, memory must be MemFree()
- EndBlend
Mode ⚠ - End blending mode (reset to default: alpha blending)
- EndDrawing⚠
- End canvas drawing and swap buffers (double buffering)
- EndMode2D⚠
- Ends 2D mode with custom camera
- EndMode3D⚠
- Ends 3D mode and returns to default 2D orthographic mode
- EndScissor
Mode ⚠ - End scissor mode
- EndShader
Mode ⚠ - End custom shader drawing (use default shader)
- EndTexture
Mode ⚠ - Ends drawing to render texture
- EndVr
Stereo ⚠Mode - End stereo rendering (requires VR simulator)
- Export
Data ⚠AsCode - Export data to code (.h), returns true on success
- Export
Font ⚠AsCode - Export font as code file, returns true on success
- Export
Image ⚠ - Export image data to file, returns true on success
- Export
Image ⚠AsCode - Export image as code file defining an array of bytes, returns true on success
- Export
Mesh ⚠ - Export mesh data to file, returns true on success
- Export
Wave ⚠ - Export wave data to file, returns true on success
- Export
Wave ⚠AsCode - Export wave sample data to code (.h), returns true on success
- Fade⚠
- Get color with alpha applied, alpha goes from 0.0f to 1.0f
- File
Exists ⚠ - Check if file exists
- GenImage
Cellular ⚠ - Generate image: cellular algorithm, bigger tileSize means bigger cells
- GenImage
Checked ⚠ - Generate image: checked
- GenImage
Color ⚠ - Generate image: plain color
- GenImage
Font ⚠Atlas - Generate image font atlas using chars info
- GenImage
GradientH ⚠ - Generate image: horizontal gradient
- GenImage
Gradient ⚠Radial - Generate image: radial gradient
- GenImage
GradientV ⚠ - Generate image: vertical gradient
- GenImage
Perlin ⚠Noise - Generate image: perlin noise
- GenImage
Text ⚠ - Generate image: grayscale image from text data
- GenImage
White ⚠Noise - Generate image: white noise
- GenMesh
Cone ⚠ - Generate cone/pyramid mesh
- GenMesh
Cube ⚠ - Generate cuboid mesh
- GenMesh
Cubicmap ⚠ - Generate cubes-based map mesh from image data
- GenMesh
Cylinder ⚠ - Generate cylinder mesh
- GenMesh
Heightmap ⚠ - Generate heightmap mesh from image data
- GenMesh
Hemi ⚠Sphere - Generate half-sphere mesh (no bottom cap)
- GenMesh
Knot ⚠ - Generate trefoil knot mesh
- GenMesh
Plane ⚠ - Generate plane mesh (with subdivisions)
- GenMesh
Poly ⚠ - Generate polygonal mesh
- GenMesh
Sphere ⚠ - Generate sphere mesh (standard sphere)
- GenMesh
Tangents ⚠ - Compute mesh tangents
- GenMesh
Torus ⚠ - Generate torus mesh
- GenTexture
Mipmaps ⚠ - Generate GPU mipmaps for a texture
- GetApplication
Directory ⚠ - Get the directory if the running application (uses static string)
- GetCamera
Matrix ⚠ - Get camera transform matrix (view matrix)
- GetCamera
Matrix2D ⚠ - Get camera 2d transform matrix
- GetChar
Pressed ⚠ - Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
- GetClipboard
Text ⚠ - Get clipboard text content
- GetCodepoint⚠
- Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure
- GetCodepoint
Count ⚠ - Get total number of codepoints in a UTF-8 encoded string
- GetCodepoint
Next ⚠ - Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure
- GetCodepoint
Previous ⚠ - Get previous codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure
- GetCollision
Rec ⚠ - Get collision rectangle for two rectangles collision
- GetColor⚠
- Get Color structure from hexadecimal value
- GetCurrent
Monitor ⚠ - Get current connected monitor
- GetDirectory
Path ⚠ - Get full path for a given fileName with path (uses static string)
- GetFPS⚠
- Get current FPS
- GetFile
Extension ⚠ - Get pointer to extension for a filename string (includes dot: ‘.png’)
- GetFile
Length ⚠ - Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)
- GetFile
ModTime ⚠ - Get file modification time (last write time)
- GetFile
Name ⚠ - Get pointer to filename for a path string
- GetFile
Name ⚠Without Ext - Get filename string without extension (uses static string)
- GetFont
Default ⚠ - Get the default Font
- GetFrame
Time ⚠ - Get time in seconds for last frame drawn (delta time)
- GetGamepad
Axis ⚠Count - Get gamepad axis count for a gamepad
- GetGamepad
Axis ⚠Movement - Get axis movement value for a gamepad axis
- GetGamepad
Button ⚠Pressed - Get the last gamepad button pressed
- GetGamepad
Name ⚠ - Get gamepad internal name id
- GetGesture
Detected ⚠ - Get latest detected gesture
- GetGesture
Drag ⚠Angle - Get gesture drag angle
- GetGesture
Drag ⚠Vector - Get gesture drag vector
- GetGesture
Hold ⚠Duration - Get gesture hold time in milliseconds
- GetGesture
Pinch ⚠Angle - Get gesture pinch angle
- GetGesture
Pinch ⚠Vector - Get gesture pinch delta
- GetGlyph
Atlas ⚠Rec - Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to ‘?’ if not found
- GetGlyph
Index ⚠ - Get glyph index position in font for a codepoint (unicode character), fallback to ‘?’ if not found
- GetGlyph
Info ⚠ - Get glyph font info data for a codepoint (unicode character), fallback to ‘?’ if not found
- GetImage
Alpha ⚠Border - Get image alpha border rectangle
- GetImage
Color ⚠ - Get image pixel color at (x, y) position
- GetKey
Pressed ⚠ - Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
- GetMesh
Bounding ⚠Box - Compute mesh bounding box limits
- GetModel
Bounding ⚠Box - Compute model bounding box limits (considers all meshes)
- GetMonitor
Count ⚠ - Get number of connected monitors
- GetMonitor
Height ⚠ - Get specified monitor height (current video mode used by monitor)
- GetMonitor
Name ⚠ - Get the human-readable, UTF-8 encoded name of the primary monitor
- GetMonitor
Physical ⚠Height - Get specified monitor physical height in millimetres
- GetMonitor
Physical ⚠Width - Get specified monitor physical width in millimetres
- GetMonitor
Position ⚠ - Get specified monitor position
- GetMonitor
Refresh ⚠Rate - Get specified monitor refresh rate
- GetMonitor
Width ⚠ - Get specified monitor width (current video mode used by monitor)
- GetMouse
Delta ⚠ - Get mouse delta between frames
- GetMouse
Position ⚠ - Get mouse position XY
- GetMouse
Ray ⚠ - Get a ray trace from mouse position
- GetMouse
Wheel ⚠Move - Get mouse wheel movement for X or Y, whichever is larger
- GetMouse
Wheel ⚠MoveV - Get mouse wheel movement for both X and Y
- GetMouseX⚠
- Get mouse position X
- GetMouseY⚠
- Get mouse position Y
- GetMusic
Time ⚠Length - Get music time length (in seconds)
- GetMusic
Time ⚠Played - Get current music time played (in seconds)
- GetPixel
Color ⚠ - Get Color from a source pixel pointer of certain format
- GetPixel
Data ⚠Size - Get pixel data size in bytes for certain format
- GetPrev
Directory ⚠Path - Get previous directory path for a given path (uses static string)
- GetRandom
Value ⚠ - Get a random value between min and max (both included)
- GetRay
Collision ⚠Box - Get collision info between ray and box
- GetRay
Collision ⚠Mesh - Get collision info between ray and mesh
- GetRay
Collision ⚠Quad - Get collision info between ray and quad
- GetRay
Collision ⚠Sphere - Get collision info between ray and sphere
- GetRay
Collision ⚠Triangle - Get collision info between ray and triangle
- GetRender
Height ⚠ - Get current render height (it considers HiDPI)
- GetRender
Width ⚠ - Get current render width (it considers HiDPI)
- GetScreen
Height ⚠ - Get current screen height
- GetScreen
ToWorld2D ⚠ - Get the world space position for a 2d camera screen space position
- GetScreen
Width ⚠ - Get current screen width
- GetShader
Location ⚠ - Get shader uniform location
- GetShader
Location ⚠Attrib - Get shader attribute location
- GetTime⚠
- Get elapsed time in seconds since InitWindow()
- GetTouch
Point ⚠Count - Get number of touch points
- GetTouch
Point ⚠Id - Get touch point identifier for given index
- GetTouch
Position ⚠ - Get touch position XY for a touch point index (relative to screen size)
- GetTouchX⚠
- Get touch position X for touch point 0 (relative to screen size)
- GetTouchY⚠
- Get touch position Y for touch point 0 (relative to screen size)
- GetWindow
Handle ⚠ - Get native window handle
- GetWindow
Position ⚠ - Get window position XY on monitor
- GetWindow
ScaleDPI ⚠ - Get window scale DPI factor
- GetWorking
Directory ⚠ - Get current working directory (uses static string)
- GetWorld
ToScreen ⚠ - Get the screen space position for a 3d world space position
- GetWorld
ToScreen2D ⚠ - Get the screen space position for a 2d camera world space position
- GetWorld
ToScreen ⚠Ex - Get size position for a 3d world space position
- Hide
Cursor ⚠ - Hides cursor
- Image
Alpha ⚠Clear - Clear alpha channel to desired color
- Image
Alpha ⚠Crop - Crop image depending on alpha value
- Image
Alpha ⚠Mask - Apply alpha mask to image
- Image
Alpha ⚠Premultiply - Premultiply alpha channel
- Image
Blur ⚠Gaussian - Apply Gaussian blur using a box blur approximation
- Image
Clear ⚠Background - Clear image background with given color
- Image
Color ⚠Brightness - Modify image color: brightness (-255 to 255)
- Image
Color ⚠Contrast - Modify image color: contrast (-100 to 100)
- Image
Color ⚠Grayscale - Modify image color: grayscale
- Image
Color ⚠Invert - Modify image color: invert
- Image
Color ⚠Replace - Modify image color: replace color
- Image
Color ⚠Tint - Modify image color: tint
- Image
Copy ⚠ - Create an image duplicate (useful for transformations)
- Image
Crop ⚠ - Crop an image to a defined rectangle
- Image
Dither ⚠ - Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
- Image
Draw ⚠ - Draw a source image within a destination image (tint applied to source)
- Image
Draw ⚠Circle - Draw a filled circle within an image
- Image
Draw ⚠Circle Lines - Draw circle outline within an image
- Image
Draw ⚠Circle LinesV - Draw circle outline within an image (Vector version)
- Image
Draw ⚠CircleV - Draw a filled circle within an image (Vector version)
- Image
Draw ⚠Line - Draw line within an image
- Image
Draw ⚠LineV - Draw line within an image (Vector version)
- Image
Draw ⚠Pixel - Draw pixel within an image
- Image
Draw ⚠PixelV - Draw pixel within an image (Vector version)
- Image
Draw ⚠Rectangle - Draw rectangle within an image
- Image
Draw ⚠Rectangle Lines - Draw rectangle lines within an image
- Image
Draw ⚠Rectangle Rec - Draw rectangle within an image
- Image
Draw ⚠RectangleV - Draw rectangle within an image (Vector version)
- Image
Draw ⚠Text - Draw text (using default font) within an image (destination)
- Image
Draw ⚠Text Ex - Draw text (custom sprite font) within an image (destination)
- Image
Flip ⚠Horizontal - Flip image horizontally
- Image
Flip ⚠Vertical - Flip image vertically
- Image
Format ⚠ - Convert image data to desired format
- Image
From ⚠Image - Create an image from another image piece
- Image
Mipmaps ⚠ - Compute all mipmap levels for a provided image
- Image
Resize ⚠ - Resize image (Bicubic scaling algorithm)
- Image
Resize ⚠Canvas - Resize canvas and fill with color
- Image
ResizeNN ⚠ - Resize image (Nearest-Neighbor scaling algorithm)
- Image
RotateCCW ⚠ - Rotate image counter-clockwise 90deg
- Image
RotateCW ⚠ - Rotate image clockwise 90deg
- Image
Text ⚠ - Create an image from text (default font)
- Image
Text ⚠Ex - Create an image from text (custom sprite font)
- Image
ToPOT ⚠ - Convert image to POT (power-of-two)
- Init
Audio ⚠Device - Initialize audio device and context
- Init
Window ⚠ - Initialize window and OpenGL context
- IsAudio
Device ⚠Ready - Check if audio device has been initialized successfully
- IsAudio
Stream ⚠Playing - Check if audio stream is playing
- IsAudio
Stream ⚠Processed - Check if any audio stream buffers requires refill
- IsAudio
Stream ⚠Ready - Checks if an audio stream is ready
- IsCursor
Hidden ⚠ - Check if cursor is not visible
- IsCursor
OnScreen ⚠ - Check if cursor is on the screen
- IsFile
Dropped ⚠ - Check if a file has been dropped into window
- IsFile
Extension ⚠ - Check file extension (including point: .png, .wav)
- IsFont
Ready ⚠ - Check if a font is ready
- IsGamepad
Available ⚠ - Check if a gamepad is available
- IsGamepad
Button ⚠Down - Check if a gamepad button is being pressed
- IsGamepad
Button ⚠Pressed - Check if a gamepad button has been pressed once
- IsGamepad
Button ⚠Released - Check if a gamepad button has been released once
- IsGamepad
Button ⚠Up - Check if a gamepad button is NOT being pressed
- IsGesture
Detected ⚠ - Check if a gesture have been detected
- IsImage
Ready ⚠ - Check if an image is ready
- IsKey
Down ⚠ - Check if a key is being pressed
- IsKey
Pressed ⚠ - Check if a key has been pressed once
- IsKey
Released ⚠ - Check if a key has been released once
- IsKeyUp⚠
- Check if a key is NOT being pressed
- IsMaterial
Ready ⚠ - Check if a material is ready
- IsModel
Animation ⚠Valid - Check model animation skeleton match
- IsModel
Ready ⚠ - Check if a model is ready
- IsMouse
Button ⚠Down - Check if a mouse button is being pressed
- IsMouse
Button ⚠Pressed - Check if a mouse button has been pressed once
- IsMouse
Button ⚠Released - Check if a mouse button has been released once
- IsMouse
Button ⚠Up - Check if a mouse button is NOT being pressed
- IsMusic
Ready ⚠ - Checks if a music stream is ready
- IsMusic
Stream ⚠Playing - Check if music is playing
- IsPath
File ⚠ - Check if a given path is a file or a directory
- IsRender
Texture ⚠Ready - Check if a render texture is ready
- IsShader
Ready ⚠ - Check if a shader is ready
- IsSound
Playing ⚠ - Check if a sound is currently playing
- IsSound
Ready ⚠ - Checks if a sound is ready
- IsTexture
Ready ⚠ - Check if a texture is ready
- IsWave
Ready ⚠ - Checks if wave data is ready
- IsWindow
Focused ⚠ - Check if window is currently focused (only PLATFORM_DESKTOP)
- IsWindow
Fullscreen ⚠ - Check if window is currently fullscreen
- IsWindow
Hidden ⚠ - Check if window is currently hidden (only PLATFORM_DESKTOP)
- IsWindow
Maximized ⚠ - Check if window is currently maximized (only PLATFORM_DESKTOP)
- IsWindow
Minimized ⚠ - Check if window is currently minimized (only PLATFORM_DESKTOP)
- IsWindow
Ready ⚠ - Check if window has been initialized successfully
- IsWindow
Resized ⚠ - Check if window has been resized last frame
- IsWindow
State ⚠ - Check if one specific window flag is enabled
- Load
Audio ⚠Stream - Load audio stream (to stream raw audio pcm data)
- Load
Codepoints ⚠ - Load all codepoints from a UTF-8 text string, codepoints count returned by parameter
- Load
Directory ⚠Files - Load directory filepaths
- Load
Directory ⚠Files Ex - Load directory filepaths with extension filtering and recursive directory scan
- Load
Dropped ⚠Files - Load dropped filepaths
- Load
File ⚠Data - Load file data as byte array (read)
- Load
File ⚠Text - Load text data from file (read), returns a ‘\0’ terminated string
- Load
Font ⚠ - Load font from file into GPU memory (VRAM)
- Load
Font ⚠Data - Load font data for further use
- Load
Font ⚠Ex - Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set
- Load
Font ⚠From Image - Load font from Image (XNA style)
- Load
Font ⚠From Memory - Load font from memory buffer, fileType refers to extension: i.e. ‘.ttf’
- Load
Image ⚠ - Load image from file into CPU memory (RAM)
- Load
Image ⚠Anim - Load image sequence from file (frames appended to image.data)
- Load
Image ⚠Colors - Load color data from image as a Color array (RGBA - 32bit)
- Load
Image ⚠From Memory - Load image from memory buffer, fileType refers to extension: i.e. ‘.png’
- Load
Image ⚠From Screen - Load image from screen buffer and (screenshot)
- Load
Image ⚠From Texture - Load image from GPU texture data
- Load
Image ⚠Palette - Load colors palette from image as a Color array (RGBA - 32bit)
- Load
Image ⚠Raw - Load image from RAW file data
- Load
Material ⚠Default - Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
- Load
Materials ⚠ - Load materials from model file
- Load
Model ⚠ - Load model from files (meshes and materials)
- Load
Model ⚠Animations - Load model animations from file
- Load
Model ⚠From Mesh - Load model from generated mesh (default material)
- Load
Music ⚠Stream - Load music stream from file
- Load
Music ⚠Stream From Memory - Load music stream from data
- Load
Render ⚠Texture - Load texture for rendering (framebuffer)
- Load
Shader ⚠ - Load shader from files and bind default locations
- Load
Shader ⚠From Memory - Load shader from code strings and bind default locations
- Load
Sound ⚠ - Load sound from file
- Load
Sound ⚠From Wave - Load sound from wave data
- Load
Texture ⚠ - Load texture from file into GPU memory (VRAM)
- Load
Texture ⚠Cubemap - Load cubemap from image, multiple image cubemap layouts supported
- Load
Texture ⚠From Image - Load texture from image data
- LoadUT
F8 ⚠ - Load UTF-8 text encoded from codepoints array
- Load
VrStereo ⚠Config - Load VR stereo config for VR simulator device parameters
- Load
Wave ⚠ - Load wave data from file
- Load
Wave ⚠From Memory - Load wave from memory buffer, fileType refers to extension: i.e. ‘.wav’
- Load
Wave ⚠Samples - Load samples data from wave as a 32bit float data array
- Maximize
Window ⚠ - Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
- Measure
Text ⚠ - Measure string width for default font
- Measure
Text ⚠Ex - Measure string size for Font
- MemAlloc⚠
- Internal memory allocator
- MemFree⚠
- Internal memory free
- MemRealloc⚠
- Internal memory reallocator
- Minimize
Window ⚠ - Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
- OpenURL⚠
- Open URL with default system browser (if available)
- Pause
Audio ⚠Stream - Pause audio stream
- Pause
Music ⚠Stream - Pause music playing
- Pause
Sound ⚠ - Pause a sound
- Play
Audio ⚠Stream - Play audio stream
- Play
Music ⚠Stream - Start music playing
- Play
Sound ⚠ - Play a sound
- Poll
Input ⚠Events - Register all input events
- Restore
Window ⚠ - Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
- Resume
Audio ⚠Stream - Resume audio stream
- Resume
Music ⚠Stream - Resume playing paused music
- Resume
Sound ⚠ - Resume a paused sound
- Save
File ⚠Data - Save data to file from byte array (write), returns true on success
- Save
File ⚠Text - Save text data to file (write), string must be ‘\0’ terminated, returns true on success
- Seek
Music ⚠Stream - Seek music to a position (in seconds)
- SetAudio
Stream ⚠Buffer Size Default - Default size for new audio streams
- SetAudio
Stream ⚠Callback - Audio thread callback to request new data
- SetAudio
Stream ⚠Pan - Set pan for audio stream (0.5 is centered)
- SetAudio
Stream ⚠Pitch - Set pitch for audio stream (1.0 is base level)
- SetAudio
Stream ⚠Volume - Set volume for audio stream (1.0 is max level)
- SetClipboard
Text ⚠ - Set clipboard text content
- SetConfig
Flags ⚠ - Setup init configuration flags (view FLAGS)
- SetExit
Key ⚠ - Set a custom key to exit program (default is ESC)
- SetGamepad
Mappings ⚠ - Set internal gamepad mappings (SDL_GameControllerDB)
- SetGestures
Enabled ⚠ - Enable a set of gestures using flags
- SetLoad
File ⚠Data Callback - Set custom file binary data loader
- SetLoad
File ⚠Text Callback - Set custom file text data loader
- SetMaster
Volume ⚠ - Set master volume (listener)
- SetMaterial
Texture ⚠ - Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR…)
- SetModel
Mesh ⚠Material - Set material for a mesh
- SetMouse
Cursor ⚠ - Set mouse cursor
- SetMouse
Offset ⚠ - Set mouse offset
- SetMouse
Position ⚠ - Set mouse position XY
- SetMouse
Scale ⚠ - Set mouse scaling
- SetMusic
Pan ⚠ - Set pan for a music (0.5 is center)
- SetMusic
Pitch ⚠ - Set pitch for a music (1.0 is base level)
- SetMusic
Volume ⚠ - Set volume for music (1.0 is max level)
- SetPixel
Color ⚠ - Set color formatted into destination pixel pointer
- SetRandom
Seed ⚠ - Set the seed for the random number generator
- SetSave
File ⚠Data Callback - Set custom file binary data saver
- SetSave
File ⚠Text Callback - Set custom file text data saver
- SetShader
Value ⚠ - Set shader uniform value
- SetShader
Value ⚠Matrix - Set shader uniform value (matrix 4x4)
- SetShader
Value ⚠Texture - Set shader uniform value for texture (sampler2d)
- SetShader
ValueV ⚠ - Set shader uniform value vector
- SetShapes
Texture ⚠ - Set texture and rectangle to be used on shapes drawing
- SetSound
Pan ⚠ - Set pan for a sound (0.5 is center)
- SetSound
Pitch ⚠ - Set pitch for a sound (1.0 is base level)
- SetSound
Volume ⚠ - Set volume for a sound (1.0 is max level)
- SetTargetFPS⚠
- Set target FPS (maximum)
- SetTexture
Filter ⚠ - Set texture scaling filter mode
- SetTexture
Wrap ⚠ - Set texture wrapping mode
- SetTrace
LogCallback ⚠ - Set custom trace log
- SetTrace
LogLevel ⚠ - Set the current threshold (minimum) log level
- SetWindow
Icon ⚠ - Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)
- SetWindow
Icons ⚠ - Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)
- SetWindow
MinSize ⚠ - Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)
- SetWindow
Monitor ⚠ - Set monitor for the current window (fullscreen mode)
- SetWindow
Opacity ⚠ - Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
- SetWindow
Position ⚠ - Set window position on screen (only PLATFORM_DESKTOP)
- SetWindow
Size ⚠ - Set window dimensions
- SetWindow
State ⚠ - Set window configuration state using flags (only PLATFORM_DESKTOP)
- SetWindow
Title ⚠ - Set title for window (only PLATFORM_DESKTOP)
- Show
Cursor ⚠ - Shows cursor
- Stop
Audio ⚠Stream - Stop audio stream
- Stop
Music ⚠Stream - Stop music playing
- Stop
Sound ⚠ - Stop playing a sound
- Swap
Screen ⚠Buffer - Swap back buffer with front buffer (screen drawing)
- Take
Screenshot ⚠ - Takes a screenshot of current screen (filename extension defines format)
- Text
Append ⚠ - Append text at specific position and move cursor!
- Text
Copy ⚠ - Copy one string to another, returns bytes copied
- Text
Find ⚠Index - Find first text occurrence within a string
- Text
Format ⚠ - Text formatting with variables (sprintf() style)
- Text
Insert ⚠ - Insert text in a position (WARNING: memory must be freed!)
- Text
IsEqual ⚠ - Check if two text string are equal
- Text
Join ⚠ - Join text strings with delimiter
- Text
Length ⚠ - Get text length, checks for ‘\0’ ending
- Text
Replace ⚠ - Replace text string (WARNING: memory must be freed!)
- Text
Split ⚠ - Split text into multiple strings
- Text
Subtext ⚠ - Get a piece of a text string
- Text
ToInteger ⚠ - Get integer value from text (negative values not supported)
- Text
ToLower ⚠ - Get lower case version of provided string
- Text
ToPascal ⚠ - Get Pascal case notation version of provided string
- Text
ToUpper ⚠ - Get upper case version of provided string
- Toggle
Fullscreen ⚠ - Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)
- Trace
Log ⚠ - Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR…)
- Unload
Audio ⚠Stream - Unload audio stream and free memory
- Unload
Codepoints ⚠ - Unload codepoints data from memory
- Unload
Directory ⚠Files - Unload filepaths
- Unload
Dropped ⚠Files - Unload dropped filepaths
- Unload
File ⚠Data - Unload file data allocated by LoadFileData()
- Unload
File ⚠Text - Unload file text data allocated by LoadFileText()
- Unload
Font ⚠ - Unload font from GPU memory (VRAM)
- Unload
Font ⚠Data - Unload font chars info data (RAM)
- Unload
Image ⚠ - Unload image from CPU memory (RAM)
- Unload
Image ⚠Colors - Unload color data loaded with LoadImageColors()
- Unload
Image ⚠Palette - Unload colors palette loaded with LoadImagePalette()
- Unload
Material ⚠ - Unload material from GPU memory (VRAM)
- Unload
Mesh ⚠ - Unload mesh data from CPU and GPU
- Unload
Model ⚠ - Unload model (including meshes) from memory (RAM and/or VRAM)
- Unload
Model ⚠Animation - Unload animation data
- Unload
Model ⚠Animations - Unload animation array data
- Unload
Music ⚠Stream - Unload music stream
- Unload
Render ⚠Texture - Unload render texture from GPU memory (VRAM)
- Unload
Shader ⚠ - Unload shader from GPU memory (VRAM)
- Unload
Sound ⚠ - Unload sound
- Unload
Texture ⚠ - Unload texture from GPU memory (VRAM)
- UnloadUT
F8 ⚠ - Unload UTF-8 text encoded from codepoints array
- Unload
VrStereo ⚠Config - Unload VR stereo config
- Unload
Wave ⚠ - Unload wave data
- Unload
Wave ⚠Samples - Unload samples data loaded with LoadWaveSamples()
- Update
Audio ⚠Stream - Update audio stream buffers with data
- Update
Camera ⚠ - Update camera position for selected mode
- Update
Camera ⚠Pro - Update camera movement/rotation
- Update
Mesh ⚠Buffer - Update mesh vertex data in GPU for a specific buffer index
- Update
Model ⚠Animation - Update model animation pose
- Update
Music ⚠Stream - Updates buffers for music streaming
- Update
Sound ⚠ - Update sound buffer with new data
- Update
Texture ⚠ - Update GPU texture with new data
- Update
Texture ⚠Rec - Update GPU texture rectangle with new data
- Upload
Mesh ⚠ - Upload mesh vertex data in GPU and provide VAO/VBO ids
- Wait
Time ⚠ - Wait for some time (halt program execution)
- Wave
Copy ⚠ - Copy a wave to a new wave
- Wave
Crop ⚠ - Crop a wave to defined samples range
- Wave
Format ⚠ - Convert wave data to desired format
- Window
Should ⚠Close - Check if KEY_ESCAPE pressed or Close icon pressed
Type Aliases§
- Audio
Callback - Camera
- Camera type fallback, defaults to Camera3D
- Load
File Data Callback - FileIO: Load binary data
- Load
File Text Callback - FileIO: Load text data
- Quaternion
- Quaternion, 4 components (Vector4 alias)
- Render
Texture2D - RenderTexture2D, same as RenderTexture
- Save
File Data Callback - FileIO: Save binary data
- Save
File Text Callback - FileIO: Save text data
- Texture2D
- Texture2D, same as Texture
- Texture
Cubemap - TextureCubemap, same as Texture
- Trace
LogCallback - Logging: Redirect trace log messages