SetImageTransparentColor
Description
Turns a particular color completely transparent in the chosen image. This is a slow command and should not be called every frame.
Definition
SetImageTransparentColor( iImage, r, g, b )
void agk::SetImageTransparentColor( UINT iImage, int r, int g, int b )
Parameters
- iImage - The ID of the image to change.
- r - The red component of the color to set as transparent
- g - The red component of the color to set as transparent
- b - The red component of the color to set as transparent