Esempio n. 1
0
 public PImage(Bitmap image)
 {
     fast      = image;
     textureID = ContentPipe.loadTexture(fast);
     isLoaded  = true;
 }
Esempio n. 2
0
 public PImage(string pathName)
 {
     fast      = new Bitmap(pathName);
     textureID = ContentPipe.loadTexture(fast);
     isLoaded  = true;
 }