GXPokeDstAlpha

Syntax

#include <revolution/gx.h>

void GXPokeDstAlpha( GXBool enable, u8 alpha );

Arguments

enable When enable is GX_TRUE, and the pixel format in the frame buffer supports 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 the GXPokeBlendMode function) 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

2006/03/01 Initial version.


CONFIDENTIAL