viewport method
The WebGLRenderingContext.viewport()
method of the
WebGL API
sets the viewport, which specifies
the affine transformation of x and y from normalized device coordinates to
window
coordinates.
Implementation
external void viewport(
GLint x,
GLint y,
GLsizei width,
GLsizei height,
);