egami::ImageMono Class Reference

Public Member Functions

 ImageMono (const ivec2 &_size=ivec2(32, 32))
 
void * getTextureDataPointer ()
 
void resize (const ivec2 &_size, const ivec2 &_startPos=ivec2(0, 0))
 
void resize (const ivec2 &_size, const uint8_t &_color)
 
const ivec2getSize () const
 
int32_t getWidth () const
 
int32_t getHeight () const
 
void clear (uint8_t _fill)
 
const uint8_t & get (const ivec2 &_pos) const
 
void set (const ivec2 &_pos, const uint8_t &_newColor)
 

The documentation for this class was generated from the following file: