nn::y2r::CTR::SetAlpha Function
void SetAlpha(
s16 alpha
);
| Name | Description | |
|---|---|---|
| in | alpha | Specifies the alpha value. |
Sets the alpha value for a 32-bit RGB or RGB555 output format.
In the case of 32-bit RGB, the lower 8 bits of the configured alpha value are the valid bits. For that reason, values outside the limit of 0x00ff are ignored.
In the case of RGB555, the valid bit is the eighth bit of the configured alpha value. For that reason, you must provide a value of 0x0080 as opposed to 0x0001.
CONFIDENTIAL