ppsspp/gfx/texture_gen.h
Henrik Rydgard 8b076c5b88 Cleanup
2012-03-31 11:16:13 +02:00

7 lines
302 B
C

// Minimal procedural texture generator to generate some useful but unnecessary-to-store textures like circles.
// "Gen" textures have filenames like this: "gen:256:256:4444:vignette:0.1"
#include "gfx/texture.h"
uint8_t *generateTexture(const char *filename, int &bpp, int &w, int &h, bool &clamp);