static inline UByte OrCh(unsigned c1, unsigned c2);
OrCh combines two channels by taking the binary "or" of the values (c1 | c2). For 8 bit channels, the same equation is used.
Parameters |
Description |
unsigned c1 |
The first (the destination) of two channels that are combined to form the new value (return value). |
unsigned c2 |
The second (the source) of two channels that are combined to form the new value (return value). |
An UByte value formed from the binary "or" of the two channels (c1 | c2).