共用方式為


DxtBitmapContent Members

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

Public Constructors

Name Description
Public Method DxtBitmapContent Overloaded. Initializes a new instance of DxtBitmapContent.

Public Properties

Name Description
Public Property Height (Inherited from BitmapContent.)
Public Property Identity (Inherited from ContentItem.)
Public Property Name (Inherited from ContentItem.)
Public Property OpaqueData (Inherited from ContentItem.)
Public Property Width (Inherited from BitmapContent.)

Public Methods

Name Description
Public Method Copy (Inherited from BitmapContent.)
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetPixelData Gets the bitmap content as an array of encoded bytes.
Public Method GetType (Inherited from Object.)
Public Method ReferenceEquals (Inherited from Object.)
Public Method SetPixelData Sets the contents of the bitmap using an encoded byte array.
Public Method ToString (Inherited from BitmapContent.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)
Protected Method TryCopyFrom Attempts to copy from a specified region to another.
Protected Method TryCopyTo Attempts to copy the specified region to another.
Protected Method ValidateCopyArguments (Inherited from BitmapContent.)

See Also

Reference

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