summaryrefslogtreecommitdiff
path: root/API.md
diff options
context:
space:
mode:
authorjussi2023-05-15 14:18:58 +0300
committerjussi2023-05-15 14:18:58 +0300
commit870e3a46a6fcdbd5b264406984d232874f138ea3 (patch)
tree3ce5e740a6133634906b2231b135123c54680fa7 /API.md
parentb387742850a4d2d6b750f7cdc878ff00d7e4a5fb (diff)
downloadreilua-enhanced-870e3a46a6fcdbd5b264406984d232874f138ea3.tar.gz
reilua-enhanced-870e3a46a6fcdbd5b264406984d232874f138ea3.tar.bz2
reilua-enhanced-870e3a46a6fcdbd5b264406984d232874f138ea3.zip
More rlgl General render state functions. Fixed rlgl function prefix to rl.
Diffstat (limited to 'API.md')
-rw-r--r--API.md75
1 files changed, 75 insertions, 0 deletions
diff --git a/API.md b/API.md
index 6700cff..2a2474b 100644
--- a/API.md
+++ b/API.md
@@ -933,6 +933,12 @@ RL_OPENGL_43
RL_OPENGL_ES_20
+## Globals - rlCullMode
+
+RL_CULL_FACE_FRONT
+
+RL_CULL_FACE_BACK
+
## Globals - OpenGL
GL_COLOR_BUFFER_BIT
@@ -6464,6 +6470,63 @@ Send light properties to shader
---
+> RL.rlEnableColorBlend()
+
+Enable color blending
+
+---
+
+> RL.rlDisableColorBlend()
+
+Disable color blending
+
+---
+
+> RL.rlEnableDepthTest()
+
+Enable depth test
+
+---
+
+> RL.rlDisableDepthTest()
+
+Disable depth test
+
+---
+
+> RL.rlEnableDepthMask()
+
+Enable depth write
+
+---
+
+> RL.rlDisableDepthMask()
+
+Disable depth write
+
+---
+
+> RL.rlEnableBackfaceCulling()
+
+Enable backface culling
+
+---
+
+> RL.rlDisableBackfaceCulling()
+
+Disable backface culling
+
+---
+
+> success = RL.rlSetCullFace( int mode )
+
+Set face culling mode
+
+- Failure return false
+- Success return true
+
+---
+
> success = RL.rlSetLineWidth( float width )
Set the line drawing width
@@ -6481,6 +6544,18 @@ Get the line drawing width
---
+> RL.rlEnableSmoothLines()
+
+Enable line aliasing
+
+---
+
+> RL.rlDisableSmoothLines()
+
+Disable line aliasing
+
+---
+
## RLGL - Initialization functions
---