mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
implemented overlays and text, need depth configuration
This commit is contained in:
@@ -2,15 +2,20 @@
|
||||
#define TEXTURE_H
|
||||
|
||||
#include<string>
|
||||
#include<ft2build.h>
|
||||
#include FT_FREETYPE_H
|
||||
|
||||
namespace vb01{
|
||||
class Texture{
|
||||
public:
|
||||
enum TextureType{TEXTURE_2D,TEXTURE_CUBEMAP};
|
||||
|
||||
Texture();
|
||||
Texture(FT_Face&,char);
|
||||
Texture(std::string);
|
||||
Texture(std::string[6]);
|
||||
void select();
|
||||
inline unsigned int* getTexture(){return &texture;}
|
||||
private:
|
||||
TextureType type;
|
||||
unsigned int texture;
|
||||
|
||||
Reference in New Issue
Block a user