Class Astc5x5BitmapContent
- 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
widthintWidth in pixels of the bitmap resource.
heightintHeight 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
formatSurfaceFormatFormat being retrieved.
Returns
- bool
The GPU texture format of the bitmap type.