From fbfe1e0cb6207b6c8afd42457cb1304c7264734f Mon Sep 17 00:00:00 2001 From: jussi Date: Tue, 5 Apr 2022 01:38:03 +0300 Subject: Lights. --- include/core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/core.h') diff --git a/include/core.h b/include/core.h index 1f0691c..8cb2977 100644 --- a/include/core.h +++ b/include/core.h @@ -2,6 +2,7 @@ /* Validators. */ bool validCamera3D( size_t id ); +bool validShader( size_t id ); /* Window. */ int lcoreIsWindowReady( lua_State *L ); int lcoreIsWindowFullscreen( lua_State *L ); @@ -61,6 +62,8 @@ int lcoreBeginShaderMode( lua_State *L ); int lcoreEndShaderMode( lua_State *L ); int lcoreGetShaderLocation( lua_State *L ); int lcoreGetShaderLocationAttrib( lua_State *L ); +int lcoreSetShaderLocationIndex( lua_State *L ); +int lcoreGetShaderLocationIndex( lua_State *L ); int lcoreSetShaderValueMatrix( lua_State *L ); int lcoreSetShaderValueTexture( lua_State *L ); int lcoreSetShaderValue( lua_State *L ); -- cgit v1.2.3