summaryrefslogtreecommitdiff
path: root/ReiLua_API.lua
diff options
context:
space:
mode:
authorjussi2023-06-02 16:18:32 +0300
committerjussi2023-06-02 16:18:32 +0300
commitd550afa3d41e49c6cb215498db0eb547a628d578 (patch)
treec5255c6ec1c021ca3917ee04236cf7ea4a8c85e5 /ReiLua_API.lua
parent9f979ad69c78a85bb88c2649a0613cea7890b650 (diff)
downloadreilua-enhanced-d550afa3d41e49c6cb215498db0eb547a628d578.tar.gz
reilua-enhanced-d550afa3d41e49c6cb215498db0eb547a628d578.tar.bz2
reilua-enhanced-d550afa3d41e49c6cb215498db0eb547a628d578.zip
RLGL Textures state functions.
Diffstat (limited to 'ReiLua_API.lua')
-rw-r--r--ReiLua_API.lua49
1 files changed, 49 insertions, 0 deletions
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)