Userdata objects can be referenced with lightuserdata.

This commit is contained in:
jussi
2023-10-30 00:04:11 +02:00
parent 992310fb90
commit d287078c65
18 changed files with 453 additions and 256 deletions

View File

@@ -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