{"json_modified": "2016-03-28T08:47:23.999496", "uuid": "cd55c365-7328-4177-a27a-7547e0433195", "title": "WebGLRenderingContext.viewport()", "url": "/en-US/docs/Web/API/WebGLRenderingContext/viewport", "tags": ["WebGLRenderingContext", "Reference", "WebGL", "API", "Method"], "translations": [], "modified": "2016-02-02T03:35:13", "label": "WebGLRenderingContext.viewport()", "localization_tags": [], "locale": "en-US", "id": 164387, "last_edit": "2015-10-18T06:32:49", "summary": "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.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Return_value", "title": "Return value"}, {"id": "Errors_thrown", "title": "Errors thrown"}, {"id": "Examples", "title": "Examples"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/WebGLRenderingContext/viewport", "review_tags": []}