#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 GXSetPixelFmt. The alpha compare process (see the GXSetAlphaCompare function) and the blend process (see the GXSetBlendMode function) use the input alpha (output from the last TEV stage), but when writing the pixel color, the constant alpha will replace the pixel alpha in the EFB.
03/01/2006 Initial version.