mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Move some code from Mesh wrapper to Buffer wrapper
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user