Beispiel #1
0
 public MonoGamePixmap(int width, int height, PixmapFormat format)
 {
     _width    = width;
     _height   = height;
     _pixmap   = new UInt32[width, height];
     _setColor = new MonoGameColor(0, 0, 0, 255);
     _blending = PixmapBlending.NONE;
     _filter   = PixmapFilter.NEAREST_NEIGHBOUR;
     _format   = format;
 }
Beispiel #2
0
 public void setFilter(PixmapFilter filter)
 {
     _filter = filter;
 }