共用方式為


TextureContent.ConvertBitmapType Method

Converts all bitmaps for this texture to a different format.

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

Syntax

public void ConvertBitmapType (
         Type newBitmapType
)

Parameters

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista