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.
MBBitmapPixel
data 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
MBBitmapPixelPlane
class.MBBitmapPixel
data is undefined and should not be relied upon.Declared In
MBBitmapPixelPlane.h
. MBBitmapPixelTypeAlpha
-
The bitmap uses the
alpha
channel (channel4
) component of theMBBitmapPixel
and no others.Declared In
MBBitmapPixelPlane.h
. MBBitmapPixelTypeMonochrome
-
The bitmap uses the
white
channel (channel1
) and potentially thealpha
channel (channel4
) of theMBBitmapPixel
.Declared In
MBBitmapPixelPlane.h
. MBBitmapPixelTypeRGB
-
The bitmap uses the
red
(channel1
),green
(channel2
) andblue
(channel3
) channels and potentially thealpha
channel (channel4
) of theMBBitmapPixel
.Declared In
MBBitmapPixelPlane.h
.
Declared In
MBBitmapPixelPlane.h