Move some code from Mesh wrapper to Buffer wrapper

This commit is contained in:
Alex Szpakowski
2020-02-22 18:58:41 -04:00
parent b1c028a4d3
commit 2828761060
14 changed files with 251 additions and 335 deletions
+3 -1
View File
@@ -22,13 +22,15 @@
// LOVE
#include "common/runtime.h"
#include "Buffer.h"
namespace love
{
namespace graphics
{
class Buffer;
void luax_writebufferdata(lua_State *L, int startidx, DataFormat format, char *data);
void luax_readbufferdata(lua_State *L, DataFormat format, const char *data);
Buffer *luax_checkbuffer(lua_State *L, int idx);
extern "C" int luaopen_graphicsbuffer(lua_State *L);