table of contents
GLVIEWPORT(3G) | [FIXME: manual] | GLVIEWPORT(3G) |
NAME¶
glViewport - set the viewportC SPECIFICATION¶
void
glViewport(GLint x, GLint y,
GLsizei width,
GLsizei height);
PARAMETERS¶
x, ySpecify the lower left corner of the viewport
rectangle, in pixels. The initial value is (0,0).
width, height
Specify the width and height of the viewport.
When a GL context is first attached to a window, width and
height are set to the dimensions of that window.
DESCRIPTION¶
ERRORS¶
ASSOCIATED GETS¶
SEE ALSO¶
COPYRIGHT¶
Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.05/30/2012 | [FIXME: source] |