#include <gfx_image_imagechannel.h>
◆ MAXON_INTERFACE()
◆ GetChannelBits()
Returns the size in bits of each component.
◆ GetChannelType()
Returns true if the channel is a alpha channel.
◆ GetDataType()
Returns the data type of the pixel format.
◆ IsIdenticalComponent()
MAXON_METHOD Bool IsIdenticalComponent |
( |
const void * |
a, |
|
|
const void * |
b, |
|
|
Int |
oneTolerance |
|
) |
| const |
Compares two components.
- Parameters
-
[in] | a | Component buffer 1. |
[in] | b | Component buffer 2. |
[in] | oneTolerance | Pixel difference related to 0..255 range. |
- Returns
- Returns true is the pixel is within the given tolerance.