共用方式為


Dxt5BitmapContent Constructor

Note

This constructor is available only when developing for Windows.

Initializes a new instance of Dxt5BitmapContent with the specified width and height.

Syntax

'Declaration
Public Sub New ( _
         width As Integer, _
         height As Integer _
)
public Dxt5BitmapContent (
         int width,
         int height
)
public:
Dxt5BitmapContent(
         int width,
         int height
)

Parameters

  • width
    Type: Int32
    Width of the bitmap, in pixels.
  • height
    Type: Int32
    Height of the bitmap, in pixels.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP