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