Class Astc8x8BitmapContent
- Assembly
- MonoGame.Framework.Content.Pipeline.dll
public class Astc8x8BitmapContent : AstcBitmapContent
- Inheritance
-
Astc8x8BitmapContent
- Inherited Members
Constructors
Astc8x8BitmapContent()
Initializes a new instance of Astc8x8BitmapContent.
protected Astc8x8BitmapContent()
Astc8x8BitmapContent(int, int)
Initializes a new instance of Astc8x8BitmapContent with the specified width or height.
public Astc8x8BitmapContent(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.