GXGetScissor

Syntax

#include <revolution/gx.h>

void GXGetScissor(
    u32* xOrig, 
    u32* yOrig, 
    u32* wd, 
    u32* ht );

Arguments

xOrig Returns the left-most coordinate of the scissor box in screen coordinates
yOrig Returns the top-most coordinate of the scissor box in screen coordinates
wd Returns the width of the scissor box width in screen coordinates
ht Returns the height of the scissor box in screen coordinates

Return Values

None.

Description

The scissor box specifies an area of the screen where primitives are not culled. This function returns the current scissor box in screen coordinates. Use the GXSetScissor function to configure the scissor box.

See Also

GXSetScissor

Revision History

2006/03/01 Initial version.


CONFIDENTIAL