Exemplo 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));
 }
Exemplo n.º 2
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, string filename,
                                      TextureCreationParameters creationParameters)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, filename, creationParameters));
 }
Exemplo n.º 3
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, string filename)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, filename));
 }
Exemplo n.º 4
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, Stream textureStream, int numberBytes,
                                      TextureCreationParameters creationParameters)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, textureStream, numberBytes, creationParameters));
 }
Exemplo n.º 5
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, Stream textureStream, int numberBytes)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, textureStream, numberBytes));
 }
Exemplo n.º 6
0
 public new static Texture2D FromFile(GraphicsDevice graphicsDevice, Stream textureStream)
 {
     return((Texture2D)Texture.FromFile(graphicsDevice, textureStream, -1));
 }