共用方式為


DxtBitmapContent Constructor (Int32, Int32, Int32)

Note

This constructor is available only when developing for Windows.

Initializes a new instance of DxtBitmapContent with the specified size.

Syntax

'Declaration
Protected Sub New ( _
         blockSize As Integer, _
         width As Integer, _
         height As Integer _
)
protected DxtBitmapContent (
         int blockSize,
         int width,
         int height
)
protected:
DxtBitmapContent(
         int blockSize,
         int width,
         int height
)

Parameters

  • blockSize
    Type: Int32
    Size of the block, in bytes.
  • 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

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

Platforms

Windows 7, Windows Vista, Windows XP