diff options
Diffstat (limited to 'API.md')
| -rw-r--r-- | API.md | 78 |
1 files changed, 64 insertions, 14 deletions
@@ -3824,6 +3824,18 @@ Get clipboard text content --- +> RL.EnableEventWaiting() + +Enable waiting for events on EndDrawing(), no automatic event polling + +--- + +> RL.DisableEventWaiting() + +Disable waiting for events on EndDrawing(), automatic events polling + +--- + ## Core - Cursor-related functions --- @@ -4134,6 +4146,22 @@ Set target FPS (maximum) --- +> delta = RL.GetFrameTime() + +Get time in seconds for last frame drawn (Delta time) + +- Success return float + +--- + +> time = RL.GetTime() + +Get elapsed time in seconds since InitWindow() + +- Success return float + +--- + > FPS = RL.GetFPS() Get current FPS @@ -4142,19 +4170,25 @@ Get current FPS --- -> delta = RL.GetFrameTime() +## Core - Custom frame control functions -Get time in seconds for last frame drawn (Delta time) +--- -- Success return float +> RL.SwapScreenBuffer() + +Swap back buffer with front buffer (screen drawing) --- -> time = RL.GetTime() +> RL.PollInputEvents() -Get elapsed time in seconds since InitWindow() +Register all input events -- Success return float +--- + +> RL.WaitTime( number seconds ) + +Wait for some time (halt program execution) --- @@ -6354,14 +6388,6 @@ Get Color structure from hexadecimal value --- -> color = RL.GetPixelColor( Texture texture, Vector2 position ) - -Get pixel color from source texture - -- Success return Color - ---- - > size = RL.GetPixelDataSize( int width, int height, int format ) Get pixel data size in bytes for certain format @@ -6756,6 +6782,22 @@ Encode one codepoint into UTF-8 byte array --- +> text = RL.TextSubtext( string text, int position, int length ) + +Get a piece of a text string + +- Success return string + +--- + +> text = RL.TextReplace( string text, string replace, string by ) + +Replace text string + +- Success return string + +--- + > text = RL.TextInsert( string text, string insert, int position ) Insert text in a specific position, moves all text forward @@ -6780,6 +6822,14 @@ Find first text occurrence within a string --- +> text = RL.TextToPascal( string text ) + +Get Pascal case notation version of provided string + +- Success return string + +--- + ## Models - Basic geometric 3D shapes drawing functions --- |
