Table of Contents

Class PvrtcRgb2BitmapContent

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

Constructors

PvrtcRgb2BitmapContent(int, int)

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

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