VITAlbum/include/textures.h
2022-01-12 23:49:19 -05:00

26 lines
488 B
C++

#ifndef _VITALBUM_TEXTURES_H_
#define _VITALBUM_TEXTURES_H_
#include <string>
#include <vector>
#include <vitaGL.h>
typedef struct {
GLuint id = 0;
int width = 0;
int height = 0;
SceUInt delay = 0; // microseconds
} Tex;
extern std::vector<Tex> icons;
extern unsigned const FOLDER, IMAGE;
namespace Textures {
bool LoadImageFile(const std::string &path, std::vector<Tex> &textures);
void Free(Tex &texture);
void Init(void);
void Exit(void);
}
#endif