Пример #1
0
 public Texture2D(GraphicsDevice graphicsDevice, int width, int height, bool mipmap, SurfaceFormat format, int arraySize) : this(graphicsDevice, width, height, mipmap, format, SurfaceType.Texture, false, arraySize)
 {
 }
Пример #2
0
 internal Texture2D(GraphicsDevice graphicsDevice, int width, int height, bool mipmap, SurfaceFormat format, SurfaceType type) : this(graphicsDevice, width, height, mipmap, format, type, false, 1)
 {
 }
Пример #3
0
 public Texture2D(GraphicsDevice graphicsDevice, int width, int height) : this(graphicsDevice, width, height, false, SurfaceFormat.Color, SurfaceType.Texture, false, 1)
 {
 }