glViewport¶
set the viewport
- arguments
-
int
$x
Specify the lower left corner of the viewport rectangle, in pixels. The initial value is (0,0).int
$y
int
$width
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.int
$height
- returns
-
void
Copyright © 2010-2014 Khronos Group
This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. https://opencontent.org/openpub/.