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. --- include/lrlgl.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include') diff --git a/include/lrlgl.h b/include/lrlgl.h index c307302..565e816 100644 --- a/include/lrlgl.h +++ b/include/lrlgl.h @@ -1,7 +1,18 @@ #pragma once /* General render state. */ +int lrlglEnableColorBlend( lua_State *L ); +int lrlglDisableColorBlend( lua_State *L ); +int lrlglEnableDepthTest( lua_State *L ); +int lrlglDisableDepthTest( lua_State *L ); +int lrlglEnableDepthMask( lua_State *L ); +int lrlglDisableDepthMask( lua_State *L ); +int lrlglEnableBackfaceCulling( lua_State *L ); +int lrlglDisableBackfaceCulling( lua_State *L ); +int lrlglSetCullFace( lua_State *L ); int lrlglSetLineWidth( lua_State *L ); int lrlglGetLineWidth( lua_State *L ); +int lrlglEnableSmoothLines( lua_State *L ); +int lrlglDisableSmoothLines( lua_State *L ); /* Initialization functions */ int lrlglGetVersion( lua_State *L ); \ No newline at end of file -- cgit v1.2.3