#include <revolution/gx.h>
void GXGetViewport(
f32* xOrig,
f32* yOrig,
f32* wd,
f32* ht,
f32* nearZ,
f32* farZ );
| xOrig | Leftmost screen coordinate, in pixels. |
|---|---|
| yOrig | Topmost screen coordinate, in pixels. |
| wd | Viewport width, in pixels. |
| ht | Viewport height, in pixels. |
| nearZ | Floating-point value for near depth scale. |
| farZ | Floating-point value for far depth scale. |
None.
Returns the current viewport rectangle in screen coordinates. The viewport is set using the GXSetViewport function.
GXSetScissor
MTXFrustum
Render Modes
2008/12/04 Revised the description of depth scale.
2006/03/01 Initial version.
CONFIDENTIAL