Buffer userdata object and rlgl Vertex buffers management.

This commit is contained in:
jussi
2023-10-26 20:09:16 +03:00
parent 168f4959d4
commit 56c365c8cc
14 changed files with 1070 additions and 91 deletions

View File

@@ -14,6 +14,20 @@ enum EventType {
EVENT_CURSOR_ENTER
};
enum BufferType {
BUFFER_UNSIGNED_CHAR,
BUFFER_UNSIGNED_SHORT,
BUFFER_UNSIGNED_INT,
BUFFER_FLOAT,
};
typedef struct {
size_t size;
void *data;
int x;
int y;
} Buffer;
bool luaInit( int argn, const char **argc );
int luaTraceback( lua_State *L );
bool luaCallMain();