Table of Contents

Class PvrtcRgba2BitmapContent

Namespace
Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly
MonoGame.Framework.Content.Pipeline.dll
[Obsolete("PVRTC 2BPP formats are no longer supported, and this will be removed in a future version.")]
public class PvrtcRgba2BitmapContent : PvrtcBitmapContent
Inheritance
PvrtcRgba2BitmapContent
Inherited Members

Constructors

PvrtcRgba2BitmapContent(int, int)

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

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