TextureContent.ConvertBitmapType Method (Microsoft.Xna.Framework.Content.Pipeline.Graphics)

Converts all bitmaps for this texture to a different format.

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void ConvertBitmapType(
	Type newBitmapType
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

newBitmapType
Type: System.Type
Type being converted to. The new type must be a subclass of BitmapContent, such as PixelBitmapContent or DxtBitmapContent.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop