ImFusion Web SDK

GlViewport

ts

Structure describing an OpenGL viewport

See

OpenGL Wiki - glViewport

Properties

x

ts

X coordinate of the lower-left corner of the viewport rectangle.


y

ts

Y coordinate of the lower-left corner of the viewport rectangle.


width

ts

Width of the viewport rectangle in pixels.


height

ts

Height of the viewport rectangle in pixels

On this page