OpenTK.Platform.iPhoneOS.iPhoneOSGameView.AutoResize Property
Controls whether the graphics context is recreated when the display size changes.

Syntax

public bool AutoResize { get; set; }

See Also

iPhoneOSGameView.LayoutSubviews

Value

A bool which controls whether the graphics context is recreated when the view's UIKit.UIView.Bounds changes.

Remarks

If true, when iPhoneOSGameView.LayoutSubviews is invoked and UIKit.UIView.Bounds differs from iPhoneOSGameView.Size, then the framebuffer will be destroyed and recreated.

Otherwise, all view size changes are ignored.

Requirements

Namespace: OpenTK.Platform.iPhoneOS
Assembly: OpenTK-1.0 (in OpenTK-1.0.dll)
Assembly Versions: 0.0.0.0