Click or drag to resize

glGetMaxViewportDimensions Method

Returns the maximum supported width and height of the viewport.

Namespace:  Ooogles
Assembly:  Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void GetMaxViewportDimensions(
	out int maxWidth,
	out int maxHeight
)

Parameters

maxWidth
Type: SystemInt32
Is set to the maximum width of the viewport.
maxHeight
Type: SystemInt32
Is set to the maximum height of the viewport.
Remarks
These must be at least as large as the visible dimensions of the display being rendered to.

OpenGL API: glGetIntegerv(GL_MAX_VIEWPORT_DIMS)

See Also