GXSetCopyClear

Syntax

#include <revolution/gx.h>

void GXSetCopyClear( 
    GXColor    clear_clr, 
    u32        clear_z);

Arguments

clear_clr RGBA color (8 bits per component). The value will be converted to the correct format during the clear operation.
clear_z 24-bit Z value. The value will be converted to the correct form during the clear operation.
Use the constant GX_MAX_Z24 to specify the maximum depth value. 

Return Values

None.

Description

Sets the color and Z values to clear the embedded frame buffer to during copy operations. These values are used during both display copies and texture copies.

See Also

GXCopyDisp
GXCopyTex

Revision History

2006/03/01 Initial version.


CONFIDENTIAL