TextureInformation Constructor

Bb196019.note(en-US,XNAGameStudio.10).gifNote
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)

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.

Windows XP SP2, Windows Vista

Show: