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