Sdílet prostřednictvím


TextureInformation Constructor

Note

This constructor is available only when developing for Windows.

Initializes a new instance of the TextureInformation class.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public TextureInformation (
         int width,
         int height,
         int depth,
         int mipLevels,
         SurfaceFormat format
)

Parameters

  • width
    Width of the texture, in pixels.
  • height
    Height of the texture, in pixels.
  • depth
    Depth of the texture, in pixels.
  • mipLevels
    Number of mip levels in original image.
  • format
    Describes the data in the original image.

See Also

Reference

TextureInformation Structure
TextureInformation Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista