 | 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)
Syntaxpublic static void GetMaxViewportDimensions(
out int maxWidth,
out int maxHeight
)
Public Shared Sub GetMaxViewportDimensions (
<OutAttribute> ByRef maxWidth As Integer,
<OutAttribute> ByRef maxHeight As Integer
)
public:
static void GetMaxViewportDimensions(
[OutAttribute] int% maxWidth,
[OutAttribute] int% maxHeight
)
static member GetMaxViewportDimensions :
maxWidth : int byref *
maxHeight : int byref -> unit
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