Table of Contents

Class Astc5x5BitmapContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly
MonoGame.Framework.Content.Pipeline.dll
public class Astc5x5BitmapContent : AstcBitmapContent
Inheritance
Astc5x5BitmapContent
Inherited Members

Constructors

Astc5x5BitmapContent()

Initializes a new instance of Astc5x5BitmapContent.

protected Astc5x5BitmapContent()

Astc5x5BitmapContent(int, int)

Initializes a new instance of Astc5x5BitmapContent with the specified width or height.

public Astc5x5BitmapContent(int width, int height)

Parameters

width int

Width in pixels of the bitmap resource.

height int

Height in pixels of the bitmap resource.

Methods

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.