TextureCube Constructor
Initializes a new instance of the TextureCube class.
Overload List
Name | Description |
---|---|
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. |
See Also
Reference
TextureCube Class
TextureCube Members
Microsoft.Xna.Framework.Graphics Namespace