Class: ewol::Texture


Synopsis:

+  void                   updateContext        (void);
+ void removeContext (void);
+ void removeContextToLate (void);
+ GLuint getId (void);
+ vec2 getUsableSize (void);
+ const char * getType (void);
+ void setImageSize (ivec2 newSize);
+ egami::Image & get (void);
+ void flush (void);
+ static ewol::Texture * keep (void);
+ static void release (ewol::Texture * & _object);
# Texture (const std::string & _filename);
# Texture (void);
# ~Texture (void);

Object Hierarchy:

ewol::EObject
    +--> ewol::Resource
        +--> ewol::Texture
            +--> ewol::TextureFile
            +--> ewol::TexturedFont

Detail:

updateContext ()

void updateContext(void);



removeContext ()

void removeContext(void);



removeContextToLate ()

void removeContextToLate(void);



getId ()

GLuint getId(void);



getUsableSize ()

vec2 getUsableSize(void);



getType ()

const char * getType(void);



setImageSize ()

void setImageSize(ivec2 newSize);



get ()

egami::Image & get(void);



flush ()

void flush(void);



ewol::keep ()

static ewol::Texture * keep(void);

keep the resource pointer.
Notes: Never free this pointer by your own...


ewol::release ()

static void release(ewol::Texture * & _object);

release the keeped resources


ewol::Texture ()

Texture(const std::string & _filename);



ewol::Texture ()

Texture(void);



ewol::~Texture ()

~Texture(void);