diff options
| author | jussi | 2023-10-30 00:04:11 +0200 |
|---|---|---|
| committer | jussi | 2023-10-30 00:04:11 +0200 |
| commit | d287078c658d26d41a28f92b62b023048c5503ce (patch) | |
| tree | fb045110fde9329782d21324cc7a9092128a1126 /API.md | |
| parent | 992310fb90832ddf493ec33f1099dbbf3e0987f3 (diff) | |
| download | reilua-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.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 --- |
