Table of Contents

Class Dxt1BitmapContent

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

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

public class Dxt1BitmapContent : DxtBitmapContent
Inheritance
Dxt1BitmapContent
Inherited Members

Constructors

Dxt1BitmapContent(int, int)

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

public Dxt1BitmapContent(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.