TextureContent Constructor

Initializes a new instance of TextureContent with the specified face collection.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

Syntax

protected TextureContent (
         MipmapChainCollection faces
)

Parameters

  • faces
    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.

See Also

Reference

TextureContent Class
TextureContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista