CryEngine.BitmapExtensions

Contains the extension methods for Bitmaps. More...

Static Public Member Functions

static int GetBPP (this Bitmap bmp)
Returns the pixel format of the Bitmap. More...
static byte [] GetPixels (this Bitmap bmp)
Returns the pixels of the Bitmap as an array of bytes. More...

Detailed Description

Contains the extension methods for Bitmaps.

Member Function Documentation

◆ GetBPP()

static int CryEngine.BitmapExtensions.GetBPP ( this Bitmap bmp)
inline
static

Returns the pixel format of the Bitmap.

Parameters
bmp
Returns

◆ GetPixels()

static byte [] CryEngine.BitmapExtensions.GetPixels ( this Bitmap bmp)
inline
static

Returns the pixels of the Bitmap as an array of bytes.

Parameters
bmp
Returns