From d550afa3d41e49c6cb215498db0eb547a628d578 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 2 Jun 2023 16:18:32 +0300 Subject: RLGL Textures state functions. --- ReiLua_API.lua | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 3f0a274..990295e 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -5549,6 +5549,55 @@ function RL.GetLightColor( light ) end ---@return any enabled function RL.IsLightEnabled( light ) end +-- RLGL - Textures state + +---Select and active a texture slot +---- Failure return false +---- Success return true +---@param slot integer +---@return any success +function RL.rlActiveTextureSlot( slot ) end + +---Enable texture +---- Failure return false +---- Success return true +---@param id integer +---@return any success +function RL.rlEnableTexture( id ) end + +---Disable texture +---@return any RL.rlDisableTexture +function RL.rlDisableTexture() end + +---Enable texture cubemap +---- Failure return false +---- Success return true +---@param id integer +---@return any success +function RL.rlEnableTextureCubemap( id ) end + +---Disable texture cubemap +---@return any RL.rlDisableTextureCubemap +function RL.rlDisableTextureCubemap() end + +---Set texture parameters ( filter, wrap ) +---- Failure return false +---- Success return true +---@param id integer +---@param param integer +---@param value integer +---@return any success +function RL.rlTextureParameters( id, param, value ) end + +---Set cubemap parameters ( filter, wrap ) +---- Failure return false +---- Success return true +---@param id integer +---@param param integer +---@param value integer +---@return any success +function RL.rlCubemapParameters( id, param, value ) end + -- RLGL - Framebuffer state ---Enable render texture (fbo) -- cgit v1.2.3