#include <revolution/gx.h>
void GXGetViewport(
f32* xOrig,
f32* yOrig,
f32* wd,
f32* ht,
f32* nearZ,
f32* farZ );
xOrig |
Returns the left-most screen coordinate, in pixels. |
yOrig |
Returns top-most screen coordinate, in pixels. |
wd |
Returns the viewport width, in pixels. |
ht |
Returns the viewport height, in pixels. |
nearZ |
Returns the floating point value for near depth scale. Normalized range is 0.0 - 1.0. |
farZ |
Returns floating point value for far depth scale. Normalized range is 0.0 - 1.0. |
None.
This function returns the current viewport rectangle in screen coordinates. The viewport is set using GXSetViewport.
GXSetScissor
MTXFrustum
Render Modes
03/01/2006 Initial version.