Windows apps
Collapse the table of content
Expand the table of content
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.

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

© 2016 Microsoft