示例#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)
 {
 }