summaryrefslogtreecommitdiff
path: root/include/core.h
diff options
context:
space:
mode:
authorjussi2022-04-05 01:38:03 +0300
committerjussi2022-04-05 01:38:03 +0300
commitfbfe1e0cb6207b6c8afd42457cb1304c7264734f (patch)
treebeb8e4725b6e9842fee5f929ad3f3b24663a26d2 /include/core.h
parent2a46afbf91c17463b1360faf7773a9aeb69b4e46 (diff)
downloadreilua-enhanced-fbfe1e0cb6207b6c8afd42457cb1304c7264734f.tar.gz
reilua-enhanced-fbfe1e0cb6207b6c8afd42457cb1304c7264734f.tar.bz2
reilua-enhanced-fbfe1e0cb6207b6c8afd42457cb1304c7264734f.zip
Lights.
Diffstat (limited to 'include/core.h')
-rw-r--r--include/core.h3
1 files changed, 3 insertions, 0 deletions
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 );