summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-10-30 00:04:11 +0200
committerjussi2023-10-30 00:04:11 +0200
commitd287078c658d26d41a28f92b62b023048c5503ce (patch)
treefb045110fde9329782d21324cc7a9092128a1126 /API.md
parent992310fb90832ddf493ec33f1099dbbf3e0987f3 (diff)
downloadreilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.tar.gz
reilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.tar.bz2
reilua-enhanced-d287078c658d26d41a28f92b62b023048c5503ce.zip
Userdata objects can be referenced with lightuserdata.
Diffstat (limited to 'API.md')
-rw-r--r--API.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/API.md b/API.md
index 7ba8bec..4f68d61 100644
--- a/API.md
+++ b/API.md
@@ -3090,7 +3090,7 @@ Load image from file into CPU memory (RAM)
---
-> image = RL.LoadImageFromTexture( Texture2D texture )
+> image = RL.LoadImageFromTexture( Texture texture )
Load image from GPU texture data
@@ -3665,7 +3665,7 @@ Get OpenGL framebuffer object id
> texture = RL.GetRenderTextureTexture( RenderTexture renderTexture )
-Get color buffer attachment texture
+Get color buffer attachment texture. Returns as lightuserdata
- Success return Texture
@@ -3673,7 +3673,7 @@ Get color buffer attachment texture
> texture = RL.GetRenderTextureDepthTexture( RenderTexture renderTexture )
-Get depth buffer attachment texture
+Get depth buffer attachment texture. Returns as lightuserdata
- Success return Texture
@@ -4170,7 +4170,7 @@ Load material from table. See material table definition
---
-> RL.SetMaterialTexture( Material material, int mapType, Texture2D texture )
+> RL.SetMaterialTexture( Material material, int mapType, Texture texture )
Set texture for a material map type (MATERIAL_MAP_ALBEDO, MATERIAL_MAP_METALNESS...)
@@ -4228,7 +4228,7 @@ Get color from material map type
Get material shader
-- Success return Shader
+- Success return Shader. Returns as lightuserdata
---