Esempio n. 1
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, string filename, int width, int height)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, filename, width, height, 0));
 }
Esempio n. 2
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, string filename,
                                      TextureCreationParameters creationParameters)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, filename, creationParameters));
 }
Esempio n. 3
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, string filename)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, filename));
 }
Esempio n. 4
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, Stream textureStream, int numberBytes,
                                      TextureCreationParameters creationParameters)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, textureStream, numberBytes, creationParameters));
 }
Esempio n. 5
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, Stream textureStream, int numberBytes)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, textureStream, numberBytes));
 }
Esempio n. 6
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, Stream textureStream)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, textureStream, -1));
 }