Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 455 Bytes
/* See Copyright Notice in LICENSE.txt */
#ifndef IMAGE_H
#define IMAGE_H
int image_register(lua_State *L);
int image_create(lua_State *L, GLuint tex, GLuint fbo, int width, int height, int flipped);
int image_from_current_framebuffer(lua_State *L, int x, int y, int width, int height, int mipmap);
int image_from_color(lua_State *L, GLfloat r, GLfloat g, GLfloat b, GLfloat a);
int image_load(lua_State *L, const char *path, const char *name);
#endif