MBBitmapPixelType Constants Reference
| Declared in | MBBitmapPixelPlane.h |
|---|
MBBitmapPixelType
Indicates how an MBBitmapPixelPlane represents the color and alpha
channels within the pixel data.
These values govern how pixel channel data within the MBBitmapPixel
struct should be interpreted.
Definition
typedef NS_ENUM(NSUInteger, MBBitmapPixelType ) {
MBBitmapPixelTypeUnknown,
MBBitmapPixelTypeIncompatible,
MBBitmapPixelTypeAlpha,
MBBitmapPixelTypeMonochrome,
MBBitmapPixelTypeRGB,
};
Constants
MBBitmapPixelTypeUnknown-
The pixel type of the underlying bitmap is not known.
MBBitmapPixeldata is undefined and should not be relied upon.Declared In
MBBitmapPixelPlane.h. MBBitmapPixelTypeIncompatible-
The pixel type of the underlying bitmap is not compatible with the
MBBitmapPixelPlaneclass.MBBitmapPixeldata is undefined and should not be relied upon.Declared In
MBBitmapPixelPlane.h. MBBitmapPixelTypeAlpha-
The bitmap uses the
alphachannel (channel4) component of theMBBitmapPixeland no others.Declared In
MBBitmapPixelPlane.h. MBBitmapPixelTypeMonochrome-
The bitmap uses the
whitechannel (channel1) and potentially thealphachannel (channel4) of theMBBitmapPixel.Declared In
MBBitmapPixelPlane.h. MBBitmapPixelTypeRGB-
The bitmap uses the
red(channel1),green(channel2) andblue(channel3) channels and potentially thealphachannel (channel4) of theMBBitmapPixel.Declared In
MBBitmapPixelPlane.h.
Declared In
MBBitmapPixelPlane.h