Class PvrtcRgba4BitmapContent
Inherited Members
Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics
Assembly: MonoGame.Framework.Content.Pipeline.dll
Syntax
public class PvrtcRgba4BitmapContent : PvrtcBitmapContent
Constructors
PvrtcRgba4BitmapContent(Int32, Int32)
Creates an instance of PvrtcRgba4BitBitmapContent with the specified width and height.
Declaration
public PvrtcRgba4BitmapContent(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Int32 | width | The width in pixels of the bitmap. |
Int32 | height | The height in pixels of the bitmap. |
Methods
ToString()
Returns a string description of the bitmap.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | Description of the bitmap. |
Overrides
TryGetFormat(out SurfaceFormat)
Gets the corresponding GPU texture format for the specified bitmap type.
Declaration
public override bool TryGetFormat(out SurfaceFormat format)
Parameters
Type | Name | Description |
---|---|---|
SurfaceFormat | format | Format being retrieved. |
Returns
Type | Description |
---|---|
Boolean | The GPU texture format of the bitmap type. |