More rlgl General render state functions. Fixed rlgl function prefix to rl.
This commit is contained in:
75
API.md
75
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
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user