ImageData::SetPixelRGBA

ImageData::SetPixelRGBA
void SetPixelRGBA(unsigned x, unsigned y, UByte r, UByte g, UByte b, UByte a);
Description

SetPixelRGBA sets a pixel at specified coordinates in an image. The method sets only the appropriate channels, in this case the red, blue, green and the alpha channels are set. This method should not be used for compressed image formats.

Parameters
Parameters 
Description 
unsigned x 
The x coordinate. 
unsigned y 
The y coordinate. 
UByte r 
The red component of the color. 
UByte g 
The blue component of the color. 
UByte b 
The green component of the color. 
UByte a 
The alpha channel of the color.