共用方式為


TextureContent Members

The following tables list the members exposed by the TextureContent type.

Protected Constructors

Name Description
Protected Method TextureContent Initializes a new instance of TextureContent with the specified face collection.

Public Properties

Name Description
Public Property Faces Collection of image faces that hold a single mipmap chain for a regular 2D texture, six chains for a cube map, or an arbitrary number for volume and array textures.
Public Property Identity (Inherited from ContentItem.)
Public Property Name (Inherited from ContentItem.)
Public Property OpaqueData (Inherited from ContentItem.)

Public Methods

Name Description
Public Method ConvertBitmapType Converts all bitmaps for this texture to a different format.
Public Method Equals (Inherited from Object.)
Public Method GenerateMipmaps Generates a full set of mipmaps for the texture.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Object.)
Public Method Validate Verifies that all contents of this texture are present, correct and match the capabilities of the device.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

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