OpenTK.Graphics.GraphicsContext Members

The members of OpenTK.Graphics.GraphicsContext are listed below.

See Also: Inherited members from System.Object

Public Constructors

Documentation for this section has not yet been entered.
Constructs a new GraphicsContext with the specified GraphicsMode and attaches it to the specified window.
Constructs a new GraphicsContext with the specified GraphicsMode, version and flags, and attaches it to the specified window.
Documentation for this section has not yet been entered.

Public Properties

[read-only]
static
CurrentContextXamarin.iOS.dll=OpenTK.Graphics.IGraphicsContext. Gets the GraphicsContext that is current in the calling thread.
static
DirectRenderingbool. Gets or sets a System.Boolean, indicating whether GraphicsContexts will perform direct rendering.
ErrorCheckingbool. Gets or sets a System.Boolean, indicating whether automatic error checking should be performed. Influences the debug version of OpenTK.dll, only.
[read-only]
GraphicsModeXamarin.iOS.dll=OpenTK.Graphics.GraphicsMode. Gets the GraphicsMode of the context.
[read-only]
IsCurrentbool. Gets a bool indicating whether this instance is current in the calling thread.
[read-only]
IsDisposedbool. Gets a bool indicating whether this instance has been disposed. It is an error to access any instance methods if this property returns true.
static
ShareContextsbool. Gets or sets a System.Boolean, indicating whether GraphicsContext resources are shared
SwapIntervalint. Documentation for this section has not yet been entered.
VSyncbool. Gets or sets a value indicating whether VSync is enabled.

Public Methods

static
Assert()
Checks if a GraphicsContext exists in the calling thread and throws a GraphicsContextMissingException if it doesn't.
static
CreateDummyContext() : Xamarin.iOS.dll=OpenTK.Graphics.GraphicsContext
Documentation for this section has not yet been entered.
static
CreateDummyContext(Xamarin.iOS.dll=OpenTK.ContextHandle) : Xamarin.iOS.dll=OpenTK.Graphics.GraphicsContext
Documentation for this section has not yet been entered.
Dispose()
Disposes of the GraphicsContext.
override
Equals(object) : bool
Documentation for this section has not yet been entered.
Finalize()
Documentation for this section has not yet been entered.
override
GetHashCode() : int
Documentation for this section has not yet been entered.
LoadAll()
Documentation for this section has not yet been entered.
MakeCurrent(Xamarin.iOS.dll=OpenTK.Platform.IWindowInfo)
Makes the GraphicsContext the current rendering target.
SwapBuffers()
Swaps buffers on a context. This presents the rendered scene to the user.
override
ToString() : string
Documentation for this section has not yet been entered.
Update(Xamarin.iOS.dll=OpenTK.Platform.IWindowInfo)
Updates the graphics context. This must be called when the render target is resized for proper behavior on Mac OS X.

Explicitly Implemented Interface Members

[read-only]
OpenTK.Graphics.IGraphicsContextInternal.ContextXamarin.iOS.dll=OpenTK.ContextHandle. Gets a handle to the OpenGL rendering context.
OpenTK.Graphics.IGraphicsContextInternal.GetAddress Gets the address of an OpenGL extension function.
[read-only]
OpenTK.Graphics.IGraphicsContextInternal.ImplementationXamarin.iOS.dll=OpenTK.Graphics.IGraphicsContext. Gets the platform-specific implementation of this IGraphicsContext.