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:
OpenTK.Graphics.GraphicsContext

List of all members.

Public Member Functions

void LoadAll ()
 Prepares the entry points for OpenGL.
IntPtr GetAddress (string function)
 Gets the address of an OpenGL extension function.

Properties

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

Detailed Description

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

Definition at line 75 of file IGraphicsContext.cs.


Member Function Documentation

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

Gets the address of an OpenGL extension function.

Parameters:
function The 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 (  ) 

Prepares the entry points for OpenGL.


Property Documentation

ContextHandle OpenTK.Graphics.IGraphicsContextInternal.Context [get]

Gets a handle to the OpenGL rendering context.

Definition at line 90 of file IGraphicsContext.cs.

IGraphicsContext OpenTK.Graphics.IGraphicsContextInternal.Implementation [get]

Gets the internal implementation of the current instance.

Definition at line 80 of file IGraphicsContext.cs.

 All Classes Functions Variables Enumerations Properties Events

Generated on Tue Mar 9 14:59:25 2010 for The Open Toolkit library by  doxygen 1.6.1