ImageData::SetPixelAlpha

ImageData::SetPixelAlpha
void SetPixelAlpha(unsigned x, unsigned y, UByte alpha);
Description

SetPixelAlpha sets an alpha channel of a pixel at specified coordinates. Other image channels are not modified. This method should not be used for compressed image formats.

Parameters
Parameters 
Description 
unsigned x 
The x coordinate. 
unsigned y 
The y coordinate. 
UByte alpha 
The alpha channel of the color.