From 8008ebf1b041e837eecf54c3904156309508a2a8 Mon Sep 17 00:00:00 2001 From: jussi Date: Thu, 1 Jun 2023 20:35:06 +0300 Subject: New rlgl functions and texture can be given as table. --- include/lrlgl.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'include/lrlgl.h') 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 -- cgit v1.2.3