mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
7 lines
302 B
C
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);
|