共用方式為


DxtBitmapContent Constructor (Int32, Int32, Int32)

Initializes a new instance of DxtBitmapContent with the specified size.

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

Syntax

protected DxtBitmapContent (
         int blockSize,
         int width,
         int height
)

Parameters

  • blockSize
    Size of the block, in bytes.
  • width
    Width of the bitmap, in pixels.
  • height
    Height of the bitmap, in pixels.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista