summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-06-02 16:18:32 +0300
committerjussi2023-06-02 16:18:32 +0300
commitd550afa3d41e49c6cb215498db0eb547a628d578 (patch)
treec5255c6ec1c021ca3917ee04236cf7ea4a8c85e5 /API.md
parent9f979ad69c78a85bb88c2649a0613cea7890b650 (diff)
downloadreilua-enhanced-d550afa3d41e49c6cb215498db0eb547a628d578.tar.gz
reilua-enhanced-d550afa3d41e49c6cb215498db0eb547a628d578.tar.bz2
reilua-enhanced-d550afa3d41e49c6cb215498db0eb547a628d578.zip
RLGL Textures state functions.
Diffstat (limited to 'API.md')
-rw-r--r--API.md61
1 files changed, 61 insertions, 0 deletions
diff --git a/API.md b/API.md
index b846443..39eaef7 100644
--- a/API.md
+++ b/API.md
@@ -6833,6 +6833,67 @@ Get light enabled
---
+## RLGL - Textures state
+
+---
+
+> success = RL.rlActiveTextureSlot( int slot )
+
+Select and active a texture slot
+
+- Failure return false
+- Success return true
+
+---
+
+> success = RL.rlEnableTexture( int id )
+
+Enable texture
+
+- Failure return false
+- Success return true
+
+---
+
+> RL.rlDisableTexture()
+
+Disable texture
+
+---
+
+> success = RL.rlEnableTextureCubemap( int id )
+
+Enable texture cubemap
+
+- Failure return false
+- Success return true
+
+---
+
+> RL.rlDisableTextureCubemap()
+
+Disable texture cubemap
+
+---
+
+> success = RL.rlTextureParameters( int id, int param, int value )
+
+Set texture parameters ( filter, wrap )
+
+- Failure return false
+- Success return true
+
+---
+
+> success = RL.rlCubemapParameters( int id, int param, int value )
+
+Set cubemap parameters ( filter, wrap )
+
+- Failure return false
+- Success return true
+
+---
+
## RLGL - Framebuffer state
---