summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-05-06 23:40:27 +0300
committerjussi2023-05-06 23:40:27 +0300
commit429a9dff96a5dbe1f526ae7cc6e41815eb862cf0 (patch)
treed8e081074498425f17c0fda3d8cb6d929403d1e3 /API.md
parentcf92c94097e1e8ce61a6bc73671be4ee5e229571 (diff)
downloadreilua-enhanced-429a9dff96a5dbe1f526ae7cc6e41815eb862cf0.tar.gz
reilua-enhanced-429a9dff96a5dbe1f526ae7cc6e41815eb862cf0.tar.bz2
reilua-enhanced-429a9dff96a5dbe1f526ae7cc6e41815eb862cf0.zip
uluaGetBoundingBoxIndex, IsTextureReady.
Diffstat (limited to 'API.md')
-rw-r--r--API.md13
1 files changed, 11 insertions, 2 deletions
diff --git a/API.md b/API.md
index c0dcadc..44d4775 100644
--- a/API.md
+++ b/API.md
@@ -1071,9 +1071,9 @@ Raycast hit information. NOTE: Data in named keys
---
-> BoundingBox = { { 0.0, 0.0, 0.0 }, { 1.0, 1.0, 1.0 } }
+> BoundingBox = { { 0.0, 0.0, 0.0 }, { 1.0, 1.0, 1.0 } } or { min = { 0.0, 0.0, 0.0 }, max = { 1.0, 1.0, 1.0 } }
-{ min, max }. Bounding box type for 3d mesh
+{ min, max }. Accepts Vector3. Bounding box type for 3d mesh
---
@@ -3560,6 +3560,15 @@ Unload texture from GPU memory ( VRAM )
---
+> isReady = RL.IsTextureReady( Texture2D texture )
+
+Check if a texture is ready
+
+- Failure return nil
+- Success return true
+
+---
+
> success = RL.UpdateTexture( Texture2D texture, int{} pixels )
Update GPU texture with new data