GXSetDispCopySrc

C Specification

#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 in pixels to copy. in multiples of two pixels.
ht height in lines to copy. 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 occurs normally, 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

03/01/2006 Initial version.