The Open Toolkit library  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
OpenTK.Graphics.IGraphicsContextInternal Interface Reference

Provides methods to create new GraphicsContexts. Should only be used for extending OpenTK. More...

+ Inheritance diagram for OpenTK.Graphics.IGraphicsContextInternal:

Public Member Functions

void LoadAll ()
 Loads all OpenGL entry points. Requires this instance to be current on the calling thread. More...
 
IntPtr GetAddress (string function)
 Gets the address of an OpenGL extension function. More...
 

Properties

IGraphicsContext Implementation [get]
 Gets the internal implementation of the current instance. More...
 
ContextHandle Context [get]
 Gets a handle to the OpenGL rendering context. More...
 

Detailed Description

Provides methods to create new GraphicsContexts. Should only be used for extending OpenTK.

Member Function Documentation

IntPtr OpenTK.Graphics.IGraphicsContextInternal.GetAddress ( string  function)

Gets the address of an OpenGL extension function.

Parameters
functionThe name of the OpenGL function (e.g. "glGetString")
Returns
A pointer to the specified function or IntPtr.Zero if the function isn't available in the current opengl context.
void OpenTK.Graphics.IGraphicsContextInternal.LoadAll ( )

Loads all OpenGL entry points. Requires this instance to be current on the calling thread.

Implemented in OpenTK.Graphics.GraphicsContext.

Property Documentation

ContextHandle OpenTK.Graphics.IGraphicsContextInternal.Context
get

Gets a handle to the OpenGL rendering context.

IGraphicsContext OpenTK.Graphics.IGraphicsContextInternal.Implementation
get

Gets the internal implementation of the current instance.