Dxt1BitmapContent Constructor

Note

This constructor is available only when developing for Windows.

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

Syntax

'Declaration
Public Sub New ( _
         width As Integer, _
         height As Integer _
)
public Dxt1BitmapContent (
         int width,
         int height
)
public:
Dxt1BitmapContent(
         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

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

Platforms

Windows 7, Windows Vista, Windows XP