GXPokeDstAlpha

C Specification

#include <revolution/gx.h>
void GXPokeDstAlpha( GXBool enable, u8 alpha );

Arguments

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.

Return Values

None.

Description

This function sets a constant alpha value for writing to the Embedded Frame Buffer (EFB) using the GXPoke* functions. The GXPoke* functions allow the CPU direct access to the EFB. The EFB pixel type must have an alpha channel for this function to be effective. For more information, see GXSetPixelFmt. The blending operations (see GXPokeBlendMode) still use source alpha. However, when writing the pixel color, the constant alpha will replace the pixel alpha in the EFB.

See Also

GXPokeARGB

Revision History

03/01/2006 Initial version.