Table of Contents

Class Dxt5BitmapContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly
MonoGame.Framework.Content.Pipeline.dll

Provides properties and methods for creating and maintaining a Dxt5 compressed bitmap resource.

public class Dxt5BitmapContent : DxtBitmapContent
Inheritance
Dxt5BitmapContent
Inherited Members

Constructors

Dxt5BitmapContent(int, int)

Creates an instance of Dxt5BitmapContent with the specified width and height.

public Dxt5BitmapContent(int width, int height)

Parameters

width int

The width in pixels of the bitmap.

height int

The height in pixels of the bitmap.

Methods

ToString()

Returns a string description of the bitmap.

public override string ToString()

Returns

string

Description of the bitmap.

TryGetFormat(out SurfaceFormat)

Gets the corresponding GPU texture format for the specified bitmap type.

public override bool TryGetFormat(out SurfaceFormat format)

Parameters

format SurfaceFormat

Format being retrieved.

Returns

bool

The GPU texture format of the bitmap type.