summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2024-02-25 21:02:11 +0200
committerjussi2024-02-25 21:02:11 +0200
commit625e4e0e4df7d08b58d6ba5741b932e57a70f3dd (patch)
treec84e0f43e7f483917cea470a2a2c1aa68ae57a7b /API.md
parent47ed28b006db71d823cfaa24fa143ab5cfcf279b (diff)
downloadreilua-enhanced-625e4e0e4df7d08b58d6ba5741b932e57a70f3dd.tar.gz
reilua-enhanced-625e4e0e4df7d08b58d6ba5741b932e57a70f3dd.tar.bz2
reilua-enhanced-625e4e0e4df7d08b58d6ba5741b932e57a70f3dd.zip
EnableEventWaiting and DisableEventWaiting.
Diffstat (limited to 'API.md')
-rw-r--r--API.md78
1 files changed, 64 insertions, 14 deletions
diff --git a/API.md b/API.md
index 6995dd1..70305e2 100644
--- a/API.md
+++ b/API.md
@@ -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
---