diff options
| author | jussi | 2023-06-01 20:35:06 +0300 |
|---|---|---|
| committer | jussi | 2023-06-01 20:35:06 +0300 |
| commit | 8008ebf1b041e837eecf54c3904156309508a2a8 (patch) | |
| tree | db5a570dcfb6dd2f9547d00763223eb7855050cc /include/lrlgl.h | |
| parent | 4e09bc7d617dc2b784d39aa54baeaae905bfa09b (diff) | |
| download | reilua-enhanced-8008ebf1b041e837eecf54c3904156309508a2a8.tar.gz reilua-enhanced-8008ebf1b041e837eecf54c3904156309508a2a8.tar.bz2 reilua-enhanced-8008ebf1b041e837eecf54c3904156309508a2a8.zip | |
New rlgl functions and texture can be given as table.
Diffstat (limited to 'include/lrlgl.h')
| -rw-r--r-- | include/lrlgl.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/include/lrlgl.h b/include/lrlgl.h index 565e816..8784a17 100644 --- a/include/lrlgl.h +++ b/include/lrlgl.h @@ -1,5 +1,9 @@ #pragma once +/* Framebuffer state. */ +int lrlglEnableFramebuffer( lua_State *L ); +int lrlglDisableFramebuffer( lua_State *L ); +int lrlglActiveDrawBuffers( lua_State *L ); /* General render state. */ int lrlglEnableColorBlend( lua_State *L ); int lrlglDisableColorBlend( lua_State *L ); @@ -15,4 +19,13 @@ 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 +int lrlglGetVersion( lua_State *L ); +/* Textures management */ +int lrlglLoadTexture( lua_State *L ); +int lrlglLoadTextureDepth( lua_State *L ); +int lrlglUnloadTexture( lua_State *L ); +/* Framebuffer management (fbo) */ +int lrlglLoadFramebuffer( lua_State *L ); +int lrlglFramebufferAttach( lua_State *L ); +int lrlglFramebufferComplete( lua_State *L ); +int lrlglUnloadFramebuffer( lua_State *L );
\ No newline at end of file |
