Module ffi

Source
Expand description

Raw ffi bindings

Modules§

colors

Structs§

AudioStream
AudioStream, custom audio stream
BoneInfo
Bone, skeletal animation bone
BoundingBox
BoundingBox
Camera2D
Camera2D, defines position/orientation in 2d space
Camera3D
Camera, defines position/orientation in 3d space
Color
Color, 4 components, R8G8B8A8 (32bit)
ConfigFlags
System/Window config flags
FilePathList
File path list
Font
Font, font texture and GlyphInfo array data
Gesture
Gesture
GlyphInfo
GlyphInfo, font characters glyphs info
Image
Image, pixel data stored in CPU memory (RAM)
Material
Material, includes shader and maps
MaterialMap
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
ModelAnimation
ModelAnimation
Music
Music, audio stream, anything longer than ~10 seconds should be streamed
NPatchInfo
NPatchInfo, n-patch layout info
Ray
Ray, ray for raycasting
RayCollision
RayCollision, ray hit information
Rectangle
Rectangle, 4 components
RenderTexture
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
VrDeviceInfo
VrDeviceInfo, Head-Mounted-Display device parameters
VrStereoConfig
VrStereoConfig, VR stereo rendering configuration for simulator
Wave
Wave, audio wave data
rAudioBuffer
rAudioProcessor

Enums§

BlendMode
Color blending modes (pre-defined)
CameraMode
Camera system modes
CameraProjection
Camera projection
CubemapLayout
Cubemap layouts
FontType
Font type, defines generation method
GamepadAxis
Gamepad axis
GamepadButton
Gamepad buttons
KeyboardKey
Keyboard keys (US keyboard layout)
MaterialMapIndex
Material map index
MouseButton
Mouse buttons
MouseCursor
Mouse cursor
NPatchLayout
N-patch layout
PixelFormat
Pixel formats
ShaderAttributeDataType
Shader attribute data types
ShaderLocationIndex
Shader location index
ShaderUniformDataType
Shader uniform data type
TextureFilter
Texture parameters: filter mode
TextureWrap
Texture parameters: wrap mode
TraceLogLevel
Trace log level

Constants§

MAX_MATERIAL_MAPS
MAX_SHADER_LOCATIONS
RAYLIB_VERSION
RAYLIB_VERSION_MAJOR
RAYLIB_VERSION_MINOR
RAYLIB_VERSION_PATCH

Functions§

AttachAudioMixedProcessor
Attach audio stream processor to the entire audio pipeline
AttachAudioStreamProcessor
Attach audio stream processor to stream
BeginBlendMode
Begin blending mode (alpha, additive, multiplied, subtract, custom)
BeginDrawing
Setup canvas (framebuffer) to start drawing
BeginMode2D
Begin 2D mode with custom camera (2D)
BeginMode3D
Begin 3D mode with custom camera (3D)
BeginScissorMode
Begin scissor mode (define screen area for following drawing)
BeginShaderMode
Begin custom shader drawing
BeginTextureMode
Begin drawing to render texture
BeginVrStereoMode
Begin stereo rendering (requires VR simulator)
ChangeDirectory
Change working directory, return true on success
CheckCollisionBoxSphere
Check collision between box and sphere
CheckCollisionBoxes
Check collision between two bounding boxes
CheckCollisionCircleRec
Check collision between circle and rectangle
CheckCollisionCircles
Check collision between two circles
CheckCollisionLines
Check the collision between two lines defined by two points each, returns collision point by reference
CheckCollisionPointCircle
Check if point is inside circle
CheckCollisionPointLine
Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]
CheckCollisionPointPoly
Check if point is within a polygon described by array of vertices
CheckCollisionPointRec
Check if point is inside rectangle
CheckCollisionPointTriangle
Check if point is inside a triangle
CheckCollisionRecs
Check collision between two rectangles
CheckCollisionSpheres
Check collision between two spheres
ClearBackground
Set background color (framebuffer clear color)
ClearWindowState
Clear window configuration state flags
CloseAudioDevice
Close the audio device and context
CloseWindow
Close window and unload OpenGL context
CodepointToUTF8
Encode one codepoint into UTF-8 byte array (array length returned as parameter)
ColorAlpha
Get color with alpha applied, alpha goes from 0.0f to 1.0f
ColorAlphaBlend
Get src alpha-blended into dst color with tint
ColorBrightness
Get color with brightness correction, brightness factor goes from -1.0f to 1.0f
ColorContrast
Get color with contrast correction, contrast values between -1.0f and 1.0f
ColorFromHSV
Get a Color from HSV values, hue [0..360], saturation/value [0..1]
ColorFromNormalized
Get Color from normalized values [0..1]
ColorNormalize
Get Color normalized as float [0..1]
ColorTint
Get color multiplied with another color
ColorToHSV
Get HSV values for a Color, hue [0..360], saturation/value [0..1]
ColorToInt
Get hexadecimal value for a Color
CompressData
Compress data (DEFLATE algorithm), memory must be MemFree()
DecodeDataBase64
Decode Base64 string data, memory must be MemFree()
DecompressData
Decompress data (DEFLATE algorithm), memory must be MemFree()
DetachAudioMixedProcessor
Detach audio stream processor from the entire audio pipeline
DetachAudioStreamProcessor
Detach audio stream processor from stream
DirectoryExists
Check if a directory path exists
DisableCursor
Disables cursor (lock cursor)
DisableEventWaiting
Disable waiting for events on EndDrawing(), automatic events polling
DrawBillboard
Draw a billboard texture
DrawBillboardPro
Draw a billboard texture defined by source and rotation
DrawBillboardRec
Draw a billboard texture defined by source
DrawBoundingBox
Draw bounding box (wires)
DrawCapsule
Draw a capsule with the center of its sphere caps at startPos and endPos
DrawCapsuleWires
Draw capsule wireframe with the center of its sphere caps at startPos and endPos
DrawCircle
Draw a color-filled circle
DrawCircle3D
Draw a circle in 3D world space
DrawCircleGradient
Draw a gradient-filled circle
DrawCircleLines
Draw circle outline
DrawCircleSector
Draw a piece of a circle
DrawCircleSectorLines
Draw circle sector outline
DrawCircleV
Draw a color-filled circle (Vector version)
DrawCube
Draw cube
DrawCubeV
Draw cube (Vector version)
DrawCubeWires
Draw cube wires
DrawCubeWiresV
Draw cube wires (Vector version)
DrawCylinder
Draw a cylinder/cone
DrawCylinderEx
Draw a cylinder with base at startPos and top at endPos
DrawCylinderWires
Draw a cylinder/cone wires
DrawCylinderWiresEx
Draw a cylinder wires with base at startPos and top at endPos
DrawEllipse
Draw ellipse
DrawEllipseLines
Draw ellipse outline
DrawFPS
Draw current FPS
DrawGrid
Draw a grid (centered at (0, 0, 0))
DrawLine
Draw a line
DrawLine3D
Draw a line in 3D world space
DrawLineBezier
Draw a line using cubic-bezier curves in-out
DrawLineBezierCubic
Draw line using cubic bezier curves with 2 control points
DrawLineBezierQuad
Draw line using quadratic bezier curves with a control point
DrawLineEx
Draw a line defining thickness
DrawLineStrip
Draw lines sequence
DrawLineV
Draw a line (Vector version)
DrawMesh
Draw a 3d mesh with material and transform
DrawMeshInstanced
Draw multiple mesh instances with material and different transforms
DrawModel
Draw a model (with texture if set)
DrawModelEx
Draw a model with extended parameters
DrawModelWires
Draw a model wires (with texture if set)
DrawModelWiresEx
Draw a model wires (with texture if set) with extended parameters
DrawPixel
Draw a pixel
DrawPixelV
Draw a pixel (Vector version)
DrawPlane
Draw a plane XZ
DrawPoint3D
Draw a point in 3D space, actually a small line
DrawPoly
Draw a regular polygon (Vector version)
DrawPolyLines
Draw a polygon outline of n sides
DrawPolyLinesEx
Draw a polygon outline of n sides with extended parameters
DrawRay
Draw a ray line
DrawRectangle
Draw a color-filled rectangle
DrawRectangleGradientEx
Draw a gradient-filled rectangle with custom vertex colors
DrawRectangleGradientH
Draw a horizontal-gradient-filled rectangle
DrawRectangleGradientV
Draw a vertical-gradient-filled rectangle
DrawRectangleLines
Draw rectangle outline
DrawRectangleLinesEx
Draw rectangle outline with extended parameters
DrawRectanglePro
Draw a color-filled rectangle with pro parameters
DrawRectangleRec
Draw a color-filled rectangle
DrawRectangleRounded
Draw rectangle with rounded edges
DrawRectangleRoundedLines
Draw rectangle with rounded edges outline
DrawRectangleV
Draw a color-filled rectangle (Vector version)
DrawRing
Draw ring
DrawRingLines
Draw ring outline
DrawSphere
Draw sphere
DrawSphereEx
Draw sphere with extended parameters
DrawSphereWires
Draw sphere wires
DrawText
Draw text (using default font)
DrawTextCodepoint
Draw one character (codepoint)
DrawTextCodepoints
Draw multiple character (codepoint)
DrawTextEx
Draw text using font and additional parameters
DrawTextPro
Draw text using Font and pro parameters (rotation)
DrawTexture
Draw a Texture2D
DrawTextureEx
Draw a Texture2D with extended parameters
DrawTextureNPatch
Draws a texture (or part of it) that stretches or shrinks nicely
DrawTexturePro
Draw a part of a texture defined by a rectangle with ‘pro’ parameters
DrawTextureRec
Draw a part of a texture defined by a rectangle
DrawTextureV
Draw a Texture2D with position defined as Vector2
DrawTriangle
Draw a color-filled triangle (vertex in counter-clockwise order!)
DrawTriangle3D
Draw a color-filled triangle (vertex in counter-clockwise order!)
DrawTriangleFan
Draw a triangle fan defined by points (first vertex is the center)
DrawTriangleLines
Draw triangle outline (vertex in counter-clockwise order!)
DrawTriangleStrip
Draw a triangle strip defined by points
DrawTriangleStrip3D
Draw a triangle strip defined by points
EnableCursor
Enables cursor (unlock cursor)
EnableEventWaiting
Enable waiting for events on EndDrawing(), no automatic event polling
EncodeDataBase64
Encode data to Base64 string, memory must be MemFree()
EndBlendMode
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
EndScissorMode
End scissor mode
EndShaderMode
End custom shader drawing (use default shader)
EndTextureMode
Ends drawing to render texture
EndVrStereoMode
End stereo rendering (requires VR simulator)
ExportDataAsCode
Export data to code (.h), returns true on success
ExportFontAsCode
Export font as code file, returns true on success
ExportImage
Export image data to file, returns true on success
ExportImageAsCode
Export image as code file defining an array of bytes, returns true on success
ExportMesh
Export mesh data to file, returns true on success
ExportWave
Export wave data to file, returns true on success
ExportWaveAsCode
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
FileExists
Check if file exists
GenImageCellular
Generate image: cellular algorithm, bigger tileSize means bigger cells
GenImageChecked
Generate image: checked
GenImageColor
Generate image: plain color
GenImageFontAtlas
Generate image font atlas using chars info
GenImageGradientH
Generate image: horizontal gradient
GenImageGradientRadial
Generate image: radial gradient
GenImageGradientV
Generate image: vertical gradient
GenImagePerlinNoise
Generate image: perlin noise
GenImageText
Generate image: grayscale image from text data
GenImageWhiteNoise
Generate image: white noise
GenMeshCone
Generate cone/pyramid mesh
GenMeshCube
Generate cuboid mesh
GenMeshCubicmap
Generate cubes-based map mesh from image data
GenMeshCylinder
Generate cylinder mesh
GenMeshHeightmap
Generate heightmap mesh from image data
GenMeshHemiSphere
Generate half-sphere mesh (no bottom cap)
GenMeshKnot
Generate trefoil knot mesh
GenMeshPlane
Generate plane mesh (with subdivisions)
GenMeshPoly
Generate polygonal mesh
GenMeshSphere
Generate sphere mesh (standard sphere)
GenMeshTangents
Compute mesh tangents
GenMeshTorus
Generate torus mesh
GenTextureMipmaps
Generate GPU mipmaps for a texture
GetApplicationDirectory
Get the directory if the running application (uses static string)
GetCameraMatrix
Get camera transform matrix (view matrix)
GetCameraMatrix2D
Get camera 2d transform matrix
GetCharPressed
Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty
GetClipboardText
Get clipboard text content
GetCodepoint
Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure
GetCodepointCount
Get total number of codepoints in a UTF-8 encoded string
GetCodepointNext
Get next codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure
GetCodepointPrevious
Get previous codepoint in a UTF-8 encoded string, 0x3f(‘?’) is returned on failure
GetCollisionRec
Get collision rectangle for two rectangles collision
GetColor
Get Color structure from hexadecimal value
GetCurrentMonitor
Get current connected monitor
GetDirectoryPath
Get full path for a given fileName with path (uses static string)
GetFPS
Get current FPS
GetFileExtension
Get pointer to extension for a filename string (includes dot: ‘.png’)
GetFileLength
Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)
GetFileModTime
Get file modification time (last write time)
GetFileName
Get pointer to filename for a path string
GetFileNameWithoutExt
Get filename string without extension (uses static string)
GetFontDefault
Get the default Font
GetFrameTime
Get time in seconds for last frame drawn (delta time)
GetGamepadAxisCount
Get gamepad axis count for a gamepad
GetGamepadAxisMovement
Get axis movement value for a gamepad axis
GetGamepadButtonPressed
Get the last gamepad button pressed
GetGamepadName
Get gamepad internal name id
GetGestureDetected
Get latest detected gesture
GetGestureDragAngle
Get gesture drag angle
GetGestureDragVector
Get gesture drag vector
GetGestureHoldDuration
Get gesture hold time in milliseconds
GetGesturePinchAngle
Get gesture pinch angle
GetGesturePinchVector
Get gesture pinch delta
GetGlyphAtlasRec
Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to ‘?’ if not found
GetGlyphIndex
Get glyph index position in font for a codepoint (unicode character), fallback to ‘?’ if not found
GetGlyphInfo
Get glyph font info data for a codepoint (unicode character), fallback to ‘?’ if not found
GetImageAlphaBorder
Get image alpha border rectangle
GetImageColor
Get image pixel color at (x, y) position
GetKeyPressed
Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
GetMeshBoundingBox
Compute mesh bounding box limits
GetModelBoundingBox
Compute model bounding box limits (considers all meshes)
GetMonitorCount
Get number of connected monitors
GetMonitorHeight
Get specified monitor height (current video mode used by monitor)
GetMonitorName
Get the human-readable, UTF-8 encoded name of the primary monitor
GetMonitorPhysicalHeight
Get specified monitor physical height in millimetres
GetMonitorPhysicalWidth
Get specified monitor physical width in millimetres
GetMonitorPosition
Get specified monitor position
GetMonitorRefreshRate
Get specified monitor refresh rate
GetMonitorWidth
Get specified monitor width (current video mode used by monitor)
GetMouseDelta
Get mouse delta between frames
GetMousePosition
Get mouse position XY
GetMouseRay
Get a ray trace from mouse position
GetMouseWheelMove
Get mouse wheel movement for X or Y, whichever is larger
GetMouseWheelMoveV
Get mouse wheel movement for both X and Y
GetMouseX
Get mouse position X
GetMouseY
Get mouse position Y
GetMusicTimeLength
Get music time length (in seconds)
GetMusicTimePlayed
Get current music time played (in seconds)
GetPixelColor
Get Color from a source pixel pointer of certain format
GetPixelDataSize
Get pixel data size in bytes for certain format
GetPrevDirectoryPath
Get previous directory path for a given path (uses static string)
GetRandomValue
Get a random value between min and max (both included)
GetRayCollisionBox
Get collision info between ray and box
GetRayCollisionMesh
Get collision info between ray and mesh
GetRayCollisionQuad
Get collision info between ray and quad
GetRayCollisionSphere
Get collision info between ray and sphere
GetRayCollisionTriangle
Get collision info between ray and triangle
GetRenderHeight
Get current render height (it considers HiDPI)
GetRenderWidth
Get current render width (it considers HiDPI)
GetScreenHeight
Get current screen height
GetScreenToWorld2D
Get the world space position for a 2d camera screen space position
GetScreenWidth
Get current screen width
GetShaderLocation
Get shader uniform location
GetShaderLocationAttrib
Get shader attribute location
GetTime
Get elapsed time in seconds since InitWindow()
GetTouchPointCount
Get number of touch points
GetTouchPointId
Get touch point identifier for given index
GetTouchPosition
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)
GetWindowHandle
Get native window handle
GetWindowPosition
Get window position XY on monitor
GetWindowScaleDPI
Get window scale DPI factor
GetWorkingDirectory
Get current working directory (uses static string)
GetWorldToScreen
Get the screen space position for a 3d world space position
GetWorldToScreen2D
Get the screen space position for a 2d camera world space position
GetWorldToScreenEx
Get size position for a 3d world space position
HideCursor
Hides cursor
ImageAlphaClear
Clear alpha channel to desired color
ImageAlphaCrop
Crop image depending on alpha value
ImageAlphaMask
Apply alpha mask to image
ImageAlphaPremultiply
Premultiply alpha channel
ImageBlurGaussian
Apply Gaussian blur using a box blur approximation
ImageClearBackground
Clear image background with given color
ImageColorBrightness
Modify image color: brightness (-255 to 255)
ImageColorContrast
Modify image color: contrast (-100 to 100)
ImageColorGrayscale
Modify image color: grayscale
ImageColorInvert
Modify image color: invert
ImageColorReplace
Modify image color: replace color
ImageColorTint
Modify image color: tint
ImageCopy
Create an image duplicate (useful for transformations)
ImageCrop
Crop an image to a defined rectangle
ImageDither
Dither image data to 16bpp or lower (Floyd-Steinberg dithering)
ImageDraw
Draw a source image within a destination image (tint applied to source)
ImageDrawCircle
Draw a filled circle within an image
ImageDrawCircleLines
Draw circle outline within an image
ImageDrawCircleLinesV
Draw circle outline within an image (Vector version)
ImageDrawCircleV
Draw a filled circle within an image (Vector version)
ImageDrawLine
Draw line within an image
ImageDrawLineV
Draw line within an image (Vector version)
ImageDrawPixel
Draw pixel within an image
ImageDrawPixelV
Draw pixel within an image (Vector version)
ImageDrawRectangle
Draw rectangle within an image
ImageDrawRectangleLines
Draw rectangle lines within an image
ImageDrawRectangleRec
Draw rectangle within an image
ImageDrawRectangleV
Draw rectangle within an image (Vector version)
ImageDrawText
Draw text (using default font) within an image (destination)
ImageDrawTextEx
Draw text (custom sprite font) within an image (destination)
ImageFlipHorizontal
Flip image horizontally
ImageFlipVertical
Flip image vertically
ImageFormat
Convert image data to desired format
ImageFromImage
Create an image from another image piece
ImageMipmaps
Compute all mipmap levels for a provided image
ImageResize
Resize image (Bicubic scaling algorithm)
ImageResizeCanvas
Resize canvas and fill with color
ImageResizeNN
Resize image (Nearest-Neighbor scaling algorithm)
ImageRotateCCW
Rotate image counter-clockwise 90deg
ImageRotateCW
Rotate image clockwise 90deg
ImageText
Create an image from text (default font)
ImageTextEx
Create an image from text (custom sprite font)
ImageToPOT
Convert image to POT (power-of-two)
InitAudioDevice
Initialize audio device and context
InitWindow
Initialize window and OpenGL context
IsAudioDeviceReady
Check if audio device has been initialized successfully
IsAudioStreamPlaying
Check if audio stream is playing
IsAudioStreamProcessed
Check if any audio stream buffers requires refill
IsAudioStreamReady
Checks if an audio stream is ready
IsCursorHidden
Check if cursor is not visible
IsCursorOnScreen
Check if cursor is on the screen
IsFileDropped
Check if a file has been dropped into window
IsFileExtension
Check file extension (including point: .png, .wav)
IsFontReady
Check if a font is ready
IsGamepadAvailable
Check if a gamepad is available
IsGamepadButtonDown
Check if a gamepad button is being pressed
IsGamepadButtonPressed
Check if a gamepad button has been pressed once
IsGamepadButtonReleased
Check if a gamepad button has been released once
IsGamepadButtonUp
Check if a gamepad button is NOT being pressed
IsGestureDetected
Check if a gesture have been detected
IsImageReady
Check if an image is ready
IsKeyDown
Check if a key is being pressed
IsKeyPressed
Check if a key has been pressed once
IsKeyReleased
Check if a key has been released once
IsKeyUp
Check if a key is NOT being pressed
IsMaterialReady
Check if a material is ready
IsModelAnimationValid
Check model animation skeleton match
IsModelReady
Check if a model is ready
IsMouseButtonDown
Check if a mouse button is being pressed
IsMouseButtonPressed
Check if a mouse button has been pressed once
IsMouseButtonReleased
Check if a mouse button has been released once
IsMouseButtonUp
Check if a mouse button is NOT being pressed
IsMusicReady
Checks if a music stream is ready
IsMusicStreamPlaying
Check if music is playing
IsPathFile
Check if a given path is a file or a directory
IsRenderTextureReady
Check if a render texture is ready
IsShaderReady
Check if a shader is ready
IsSoundPlaying
Check if a sound is currently playing
IsSoundReady
Checks if a sound is ready
IsTextureReady
Check if a texture is ready
IsWaveReady
Checks if wave data is ready
IsWindowFocused
Check if window is currently focused (only PLATFORM_DESKTOP)
IsWindowFullscreen
Check if window is currently fullscreen
IsWindowHidden
Check if window is currently hidden (only PLATFORM_DESKTOP)
IsWindowMaximized
Check if window is currently maximized (only PLATFORM_DESKTOP)
IsWindowMinimized
Check if window is currently minimized (only PLATFORM_DESKTOP)
IsWindowReady
Check if window has been initialized successfully
IsWindowResized
Check if window has been resized last frame
IsWindowState
Check if one specific window flag is enabled
LoadAudioStream
Load audio stream (to stream raw audio pcm data)
LoadCodepoints
Load all codepoints from a UTF-8 text string, codepoints count returned by parameter
LoadDirectoryFiles
Load directory filepaths
LoadDirectoryFilesEx
Load directory filepaths with extension filtering and recursive directory scan
LoadDroppedFiles
Load dropped filepaths
LoadFileData
Load file data as byte array (read)
LoadFileText
Load text data from file (read), returns a ‘\0’ terminated string
LoadFont
Load font from file into GPU memory (VRAM)
LoadFontData
Load font data for further use
LoadFontEx
Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set
LoadFontFromImage
Load font from Image (XNA style)
LoadFontFromMemory
Load font from memory buffer, fileType refers to extension: i.e. ‘.ttf’
LoadImage
Load image from file into CPU memory (RAM)
LoadImageAnim
Load image sequence from file (frames appended to image.data)
LoadImageColors
Load color data from image as a Color array (RGBA - 32bit)
LoadImageFromMemory
Load image from memory buffer, fileType refers to extension: i.e. ‘.png’
LoadImageFromScreen
Load image from screen buffer and (screenshot)
LoadImageFromTexture
Load image from GPU texture data
LoadImagePalette
Load colors palette from image as a Color array (RGBA - 32bit)
LoadImageRaw
Load image from RAW file data
LoadMaterialDefault
Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps)
LoadMaterials
Load materials from model file
LoadModel
Load model from files (meshes and materials)
LoadModelAnimations
Load model animations from file
LoadModelFromMesh
Load model from generated mesh (default material)
LoadMusicStream
Load music stream from file
LoadMusicStreamFromMemory
Load music stream from data
LoadRenderTexture
Load texture for rendering (framebuffer)
LoadShader
Load shader from files and bind default locations
LoadShaderFromMemory
Load shader from code strings and bind default locations
LoadSound
Load sound from file
LoadSoundFromWave
Load sound from wave data
LoadTexture
Load texture from file into GPU memory (VRAM)
LoadTextureCubemap
Load cubemap from image, multiple image cubemap layouts supported
LoadTextureFromImage
Load texture from image data
LoadUTF8
Load UTF-8 text encoded from codepoints array
LoadVrStereoConfig
Load VR stereo config for VR simulator device parameters
LoadWave
Load wave data from file
LoadWaveFromMemory
Load wave from memory buffer, fileType refers to extension: i.e. ‘.wav’
LoadWaveSamples
Load samples data from wave as a 32bit float data array
MaximizeWindow
Set window state: maximized, if resizable (only PLATFORM_DESKTOP)
MeasureText
Measure string width for default font
MeasureTextEx
Measure string size for Font
MemAlloc
Internal memory allocator
MemFree
Internal memory free
MemRealloc
Internal memory reallocator
MinimizeWindow
Set window state: minimized, if resizable (only PLATFORM_DESKTOP)
OpenURL
Open URL with default system browser (if available)
PauseAudioStream
Pause audio stream
PauseMusicStream
Pause music playing
PauseSound
Pause a sound
PlayAudioStream
Play audio stream
PlayMusicStream
Start music playing
PlaySound
Play a sound
PollInputEvents
Register all input events
RestoreWindow
Set window state: not minimized/maximized (only PLATFORM_DESKTOP)
ResumeAudioStream
Resume audio stream
ResumeMusicStream
Resume playing paused music
ResumeSound
Resume a paused sound
SaveFileData
Save data to file from byte array (write), returns true on success
SaveFileText
Save text data to file (write), string must be ‘\0’ terminated, returns true on success
SeekMusicStream
Seek music to a position (in seconds)
SetAudioStreamBufferSizeDefault
Default size for new audio streams
SetAudioStreamCallback
Audio thread callback to request new data
SetAudioStreamPan
Set pan for audio stream (0.5 is centered)
SetAudioStreamPitch
Set pitch for audio stream (1.0 is base level)
SetAudioStreamVolume
Set volume for audio stream (1.0 is max level)
SetClipboardText
Set clipboard text content
SetConfigFlags
Setup init configuration flags (view FLAGS)
SetExitKey
Set a custom key to exit program (default is ESC)
SetGamepadMappings
Set internal gamepad mappings (SDL_GameControllerDB)
SetGesturesEnabled
Enable a set of gestures using flags
SetLoadFileDataCallback
Set custom file binary data loader
SetLoadFileTextCallback
Set custom file text data loader
SetMasterVolume
Set master volume (listener)
SetMaterialTexture
Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR…)
SetModelMeshMaterial
Set material for a mesh
SetMouseCursor
Set mouse cursor
SetMouseOffset
Set mouse offset
SetMousePosition
Set mouse position XY
SetMouseScale
Set mouse scaling
SetMusicPan
Set pan for a music (0.5 is center)
SetMusicPitch
Set pitch for a music (1.0 is base level)
SetMusicVolume
Set volume for music (1.0 is max level)
SetPixelColor
Set color formatted into destination pixel pointer
SetRandomSeed
Set the seed for the random number generator
SetSaveFileDataCallback
Set custom file binary data saver
SetSaveFileTextCallback
Set custom file text data saver
SetShaderValue
Set shader uniform value
SetShaderValueMatrix
Set shader uniform value (matrix 4x4)
SetShaderValueTexture
Set shader uniform value for texture (sampler2d)
SetShaderValueV
Set shader uniform value vector
SetShapesTexture
Set texture and rectangle to be used on shapes drawing
SetSoundPan
Set pan for a sound (0.5 is center)
SetSoundPitch
Set pitch for a sound (1.0 is base level)
SetSoundVolume
Set volume for a sound (1.0 is max level)
SetTargetFPS
Set target FPS (maximum)
SetTextureFilter
Set texture scaling filter mode
SetTextureWrap
Set texture wrapping mode
SetTraceLogCallback
Set custom trace log
SetTraceLogLevel
Set the current threshold (minimum) log level
SetWindowIcon
Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP)
SetWindowIcons
Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP)
SetWindowMinSize
Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)
SetWindowMonitor
Set monitor for the current window (fullscreen mode)
SetWindowOpacity
Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
SetWindowPosition
Set window position on screen (only PLATFORM_DESKTOP)
SetWindowSize
Set window dimensions
SetWindowState
Set window configuration state using flags (only PLATFORM_DESKTOP)
SetWindowTitle
Set title for window (only PLATFORM_DESKTOP)
ShowCursor
Shows cursor
StopAudioStream
Stop audio stream
StopMusicStream
Stop music playing
StopSound
Stop playing a sound
SwapScreenBuffer
Swap back buffer with front buffer (screen drawing)
TakeScreenshot
Takes a screenshot of current screen (filename extension defines format)
TextAppend
Append text at specific position and move cursor!
TextCopy
Copy one string to another, returns bytes copied
TextFindIndex
Find first text occurrence within a string
TextFormat
Text formatting with variables (sprintf() style)
TextInsert
Insert text in a position (WARNING: memory must be freed!)
TextIsEqual
Check if two text string are equal
TextJoin
Join text strings with delimiter
TextLength
Get text length, checks for ‘\0’ ending
TextReplace
Replace text string (WARNING: memory must be freed!)
TextSplit
Split text into multiple strings
TextSubtext
Get a piece of a text string
TextToInteger
Get integer value from text (negative values not supported)
TextToLower
Get lower case version of provided string
TextToPascal
Get Pascal case notation version of provided string
TextToUpper
Get upper case version of provided string
ToggleFullscreen
Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP)
TraceLog
Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR…)
UnloadAudioStream
Unload audio stream and free memory
UnloadCodepoints
Unload codepoints data from memory
UnloadDirectoryFiles
Unload filepaths
UnloadDroppedFiles
Unload dropped filepaths
UnloadFileData
Unload file data allocated by LoadFileData()
UnloadFileText
Unload file text data allocated by LoadFileText()
UnloadFont
Unload font from GPU memory (VRAM)
UnloadFontData
Unload font chars info data (RAM)
UnloadImage
Unload image from CPU memory (RAM)
UnloadImageColors
Unload color data loaded with LoadImageColors()
UnloadImagePalette
Unload colors palette loaded with LoadImagePalette()
UnloadMaterial
Unload material from GPU memory (VRAM)
UnloadMesh
Unload mesh data from CPU and GPU
UnloadModel
Unload model (including meshes) from memory (RAM and/or VRAM)
UnloadModelAnimation
Unload animation data
UnloadModelAnimations
Unload animation array data
UnloadMusicStream
Unload music stream
UnloadRenderTexture
Unload render texture from GPU memory (VRAM)
UnloadShader
Unload shader from GPU memory (VRAM)
UnloadSound
Unload sound
UnloadTexture
Unload texture from GPU memory (VRAM)
UnloadUTF8
Unload UTF-8 text encoded from codepoints array
UnloadVrStereoConfig
Unload VR stereo config
UnloadWave
Unload wave data
UnloadWaveSamples
Unload samples data loaded with LoadWaveSamples()
UpdateAudioStream
Update audio stream buffers with data
UpdateCamera
Update camera position for selected mode
UpdateCameraPro
Update camera movement/rotation
UpdateMeshBuffer
Update mesh vertex data in GPU for a specific buffer index
UpdateModelAnimation
Update model animation pose
UpdateMusicStream
Updates buffers for music streaming
UpdateSound
Update sound buffer with new data
UpdateTexture
Update GPU texture with new data
UpdateTextureRec
Update GPU texture rectangle with new data
UploadMesh
Upload mesh vertex data in GPU and provide VAO/VBO ids
WaitTime
Wait for some time (halt program execution)
WaveCopy
Copy a wave to a new wave
WaveCrop
Crop a wave to defined samples range
WaveFormat
Convert wave data to desired format
WindowShouldClose
Check if KEY_ESCAPE pressed or Close icon pressed

Type Aliases§

AudioCallback
Camera
Camera type fallback, defaults to Camera3D
LoadFileDataCallback
FileIO: Load binary data
LoadFileTextCallback
FileIO: Load text data
Quaternion
Quaternion, 4 components (Vector4 alias)
RenderTexture2D
RenderTexture2D, same as RenderTexture
SaveFileDataCallback
FileIO: Save binary data
SaveFileTextCallback
FileIO: Save text data
Texture2D
Texture2D, same as Texture
TextureCubemap
TextureCubemap, same as Texture
TraceLogCallback
Logging: Redirect trace log messages