TextureContent Constructor
Note
This constructor is available only when developing for Windows.
Initializes a new instance of TextureContent with the specified face collection.
Syntax
'Declaration
Protected Sub New ( _
faces As MipmapChainCollection _
)
protected TextureContent (
MipmapChainCollection faces
)
protected:
TextureContent(
MipmapChainCollection faces
)
Parameters
- faces
Type: MipmapChainCollection
Mipmap chain containing the face collection.
Remarks
Override this constructor to provide support for specialized face collections. For example, the cube map class provides a fixed-size collection of six faces, while the Texture2DContent class provides a variable-size collection.
Requirements
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
See Also
Reference
TextureContent Class
TextureContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace
Platforms
Windows 7, Windows Vista, Windows XP