OpenTK.Graphics.GraphicsContext.Assert Method
Checks if a GraphicsContext exists in the calling thread and throws a GraphicsContextMissingException if it doesn't.

Syntax

public static void Assert ()

Exceptions

TypeReason
OpenTK.Graphics.GraphicsContextMissingExceptionGenerated when no GraphicsContext is current in the calling thread.

Remarks

Documentation for this section has not yet been entered.

Requirements

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