Maratis Engine
Public Member Functions

MImage Class Reference

#include <MImage.h>

List of all members.

Public Member Functions

 MImage (void)
 ~MImage (void)
void create (M_TYPES dataType, unsigned int width, unsigned int height, unsigned int components)
void clear (void *color)
void readPixel (unsigned int x, unsigned int y, void *color)
void writePixel (unsigned int x, unsigned int y, void *color)
void * getData (void)
M_TYPES getDataType (void)
unsigned int getComponents (void)
unsigned int getWidth (void)
unsigned int getHeight (void)
unsigned int getSize (void)

Constructor & Destructor Documentation

MImage::MImage ( void  )
MImage::~MImage ( void  )

Member Function Documentation

void MImage::clear ( void *  color)
void MImage::create ( M_TYPES  dataType,
unsigned int  width,
unsigned int  height,
unsigned int  components 
)
unsigned int MImage::getComponents ( void  ) [inline]
void* MImage::getData ( void  ) [inline]
M_TYPES MImage::getDataType ( void  ) [inline]
unsigned int MImage::getHeight ( void  ) [inline]
unsigned int MImage::getSize ( void  ) [inline]
unsigned int MImage::getWidth ( void  ) [inline]
void MImage::readPixel ( unsigned int  x,
unsigned int  y,
void *  color 
)
void MImage::writePixel ( unsigned int  x,
unsigned int  y,
void *  color 
)

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator Friends Defines