#include <revolution/gx.h> void GXSetDstAlpha( GXBool enable, u8 alpha );
| enable | When enable = GX_TRUE and the pixel format in the frame buffer supports destination alpha, alpha will be written to the frame buffer. |
|---|---|
| alpha | Constant alpha value. |
None.
This function sets a constant alpha value for writing to the embedded frame buffer (EFB). To be effective, the EFB pixel type must have an alpha channel. For more information, see the GXSetPixelFmt function. The alpha comparison process (see the GXSetAlphaCompare function) and the blending process (see the GXSetBlendMode function) may continue to use the input alpha (the output from the last TEV stage), but when the pixel color is written, the pixel alpha within EFB is overwritten with the constant alpha, alpha.
2006/03/01 Initial version.
CONFIDENTIAL