Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Texture2D Constructor

Creates an uninitialized Texture2D resource of the specified dimensions. To initialize a Texture2D from an existing file, see the static method ContentManager.Load.

NameDescription
Texture2D (GraphicsDevice, Int32, Int32)Creates a new instance of this object.
Texture2D (GraphicsDevice, Int32, Int32, Boolean, SurfaceFormat)Creates a new instance of this object.

Community Additions

Show:
© 2015 Microsoft