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