#include <revolution/gx.h> void GXPokeARGB( u16 x, u16 y, u32 color );
| x | The x coordinate, in pixels; 0 <= x <= 639 |
|---|---|
| y | The y coordinate, in lines; 0 <= y <= 527 |
| color | A u32 color in ARGB format. |
None.
This function allows the CPU to write a color value directly to the embedded frame buffer (EFB) at position x,y. The alpha value of color is compared with the current alpha threshold. For more information, see the GXPokeAlphaMode function. The color will be blended into the EFB using the blend mode set by the GXPokeBlendMode function.
For an antialiased frame buffer, all three subsamples of a pixel are affected by the poke. The color should be specified in 32-bit format.
GXPokeZ, GXPeekARGB, GXPokeAlphaRead
2008/05/15 Added GXPokeAlphaRead to See Also.
2006/03/01 Initial version.
CONFIDENTIAL