TextureCube Constructor

XNA Game Studio Express
Initializes a new instance of the TextureCube class.

NameDescription
TextureCube (GraphicsDevice, Int32, Int32, ResourceUsage, SurfaceFormat) Creates an uninitialized TextureCube resource of the specified dimensions. To initialize a Texture2D from an existing file, see the static method ContentManager.Load or FromFile.
TextureCube (GraphicsDevice, Int32, Int32, ResourceUsage, SurfaceFormat, ResourceManagementMode) Creates an uninitialized TextureCube resource of the given dimensions, specifying the resource management mode. To initialize a Texture2D from an existing file, see the static method ContentManager.Load or FromFile.
Show: