GXSetDispCopySrc

Syntax

#include <revolution/gx.h>

void GXSetDispCopySrc( 
    u16         left,
    u16         top,
    u16         wd,
    u16         ht );

Arguments

left The left most source pixel to copy. In multiples of two pixels.
top The top most source line to copy. In multiples of two lines.
wd Width to copy (pixels). In multiples of two pixels.
ht Height to copy (lines). In multiples of two lines.

Return Values

None.

Description

This function sets the source parameters for the embedded frame buffer (EFB) to external frame buffer (XFB) copy operation. Copying is normally performed after frame or field rendering.

left and top indicate the location of the pixel within EFB to start copying. wd and ht specify the width and height of the region to be copied.

Normally these parameters use the render mode at that time.

GXRenderModeObj* rmode = &GXNtsc240IntAa;

GXSetDispCopySrc( 0,
                  0,
                  rmode->fbWidth,
                  rmode->efbHeight );

See Also

Render Modes, GXCopyDisp

Revision History

2006/03/01 Initial version.


CONFIDENTIAL