From d287078c658d26d41a28f92b62b023048c5503ce Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 30 Oct 2023 00:04:11 +0200 Subject: Userdata objects can be referenced with lightuserdata. --- ReiLua_API.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 4431cbc..fa5fef6 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -2619,13 +2619,13 @@ function RL.GetTextureFormat( texture ) end ---@return any id function RL.GetRenderTextureId( renderTexture ) end ----Get color buffer attachment texture +---Get color buffer attachment texture. Returns as lightuserdata ---- Success return Texture ---@param renderTexture any ---@return any texture function RL.GetRenderTextureTexture( renderTexture ) end ----Get depth buffer attachment texture +---Get depth buffer attachment texture. Returns as lightuserdata ---- Success return Texture ---@param renderTexture any ---@return any texture @@ -3178,7 +3178,7 @@ function RL.GetMaterialColor( material, mapType ) end function RL.GetMaterialValue( material, mapType ) end ---Get material shader ----- Success return Shader +---- Success return Shader. Returns as lightuserdata ---@param material any ---@return any shader function RL.GetMaterialShader( material ) end -- cgit v1.2.3