From 870e3a46a6fcdbd5b264406984d232874f138ea3 Mon Sep 17 00:00:00 2001 From: jussi Date: Mon, 15 May 2023 14:18:58 +0300 Subject: More rlgl General render state functions. Fixed rlgl function prefix to rl. --- API.md | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) (limited to 'API.md') 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 --- -- cgit v1.2.3