diff options
| author | jussi | 2023-05-15 14:18:58 +0300 |
|---|---|---|
| committer | jussi | 2023-05-15 14:18:58 +0300 |
| commit | 870e3a46a6fcdbd5b264406984d232874f138ea3 (patch) | |
| tree | 3ce5e740a6133634906b2231b135123c54680fa7 /ReiLua_API.lua | |
| parent | b387742850a4d2d6b750f7cdc878ff00d7e4a5fb (diff) | |
| download | reilua-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 'ReiLua_API.lua')
| -rw-r--r-- | ReiLua_API.lua | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ReiLua_API.lua b/ReiLua_API.lua index a0b3dd0..d850b65 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -551,6 +551,11 @@ RL.RL_OPENGL_33=3 RL.RL_OPENGL_43=4 RL.RL_OPENGL_ES_20=5 +-- Globals - rlCullMode + +RL.RL_CULL_FACE_FRONT=0 +RL.RL_CULL_FACE_BACK=1 + -- Globals - OpenGL RL.GL_COLOR_BUFFER_BIT=16384 @@ -5286,6 +5291,45 @@ function RL.UpdateLightValues( shader, light ) end -- RLGL - General render state +---Enable color blending +---@return any RL.rlEnableColorBlend +function RL.rlEnableColorBlend() end + +---Disable color blending +---@return any RL.rlDisableColorBlend +function RL.rlDisableColorBlend() end + +---Enable depth test +---@return any RL.rlEnableDepthTest +function RL.rlEnableDepthTest() end + +---Disable depth test +---@return any RL.rlDisableDepthTest +function RL.rlDisableDepthTest() end + +---Enable depth write +---@return any RL.rlEnableDepthMask +function RL.rlEnableDepthMask() end + +---Disable depth write +---@return any RL.rlDisableDepthMask +function RL.rlDisableDepthMask() end + +---Enable backface culling +---@return any RL.rlEnableBackfaceCulling +function RL.rlEnableBackfaceCulling() end + +---Disable backface culling +---@return any RL.rlDisableBackfaceCulling +function RL.rlDisableBackfaceCulling() end + +---Set face culling mode +---- Failure return false +---- Success return true +---@param mode integer +---@return any success +function RL.rlSetCullFace( mode ) end + ---Set the line drawing width ---- Failure return false ---- Success return true @@ -5298,6 +5342,14 @@ function RL.rlSetLineWidth( width ) end ---@return any width function RL.rlGetLineWidth() end +---Enable line aliasing +---@return any RL.rlEnableSmoothLines +function RL.rlEnableSmoothLines() end + +---Disable line aliasing +---@return any RL.rlDisableSmoothLines +function RL.rlDisableSmoothLines() end + -- RLGL - Initialization functions ---Get current OpenGL version |
