Public Member Functions | |
| TaoGlContext () | |
| bool | CreateContext (Form form) |
| bool | CreateContext (Form form, int colorBits, int depthBits, int stencilBits) |
| bool | CreateContext (Control control) |
| bool | CreateSharedContext (TaoGlContext parentContext, Control control) |
| bool | CreateContext (Control control, int colorBits, int depthBits, int stencilBits) |
| bool | CreateContext (IntPtr handle, int colorBits, int depthBits, int stencilBits) |
| bool | CreateSharedContext (IntPtr ParentContext, IntPtr handle, int colorBits, int depthBits, int stencilBits) |
| void | MakeCurrent () |
| void | SwapBuffers () |
| void | ReleaseContext () |
Properties | |
| IntPtr | DeviceContext [get] |
| IntPtr | RenderingContext [get] |
| int | ColorBits [get] |
| int | DepthBits [get] |
| int | StencilBits [get] |
| Powertek.OpenGl.TaoGlContext.TaoGlContext | ( | ) |
| bool Powertek.OpenGl.TaoGlContext.CreateContext | ( | IntPtr | handle, | |
| int | colorBits, | |||
| int | depthBits, | |||
| int | stencilBits | |||
| ) |
Create GL Context on the submitted handle.
| handle | ||
| colorBits | ||
| depthBits | ||
| stencilBits |
| bool Powertek.OpenGl.TaoGlContext.CreateContext | ( | Control | control, | |
| int | colorBits, | |||
| int | depthBits, | |||
| int | stencilBits | |||
| ) |
Creates a OpenGl Rendering Context on the Control.
| control | ||
| colorBits | ||
| depthBits | ||
| stencilBits |
| bool Powertek.OpenGl.TaoGlContext.CreateContext | ( | Control | control | ) |
Creates an OpenGl Rendering Context on the Control with 32 bit ColorDepth and a 16 bit DepthBuffer.
| control |
| bool Powertek.OpenGl.TaoGlContext.CreateContext | ( | Form | form, | |
| int | colorBits, | |||
| int | depthBits, | |||
| int | stencilBits | |||
| ) |
Creates an OpenGl Rendering Context on the Form.
| form | ||
| colorBits | ||
| depthBits | ||
| stencilBits |
| bool Powertek.OpenGl.TaoGlContext.CreateContext | ( | Form | form | ) |
Creates an OpenGl Rendering Context on the Form with 32 bit ColorDepth and a 16 bit DepthBuffer.
| form |
| bool Powertek.OpenGl.TaoGlContext.CreateSharedContext | ( | IntPtr | ParentContext, | |
| IntPtr | handle, | |||
| int | colorBits, | |||
| int | depthBits, | |||
| int | stencilBits | |||
| ) |
Create a Shared OpenGl Context.
| ParentContext | ||
| handle | ||
| colorBits | ||
| depthBits | ||
| stencilBits |
| bool Powertek.OpenGl.TaoGlContext.CreateSharedContext | ( | TaoGlContext | parentContext, | |
| Control | control | |||
| ) |
Creates an Shared OpenGl Rendering Context on the Control with 32 bit ColorDepth and a 16 bit DepthBuffer.
| parentContext | ||
| control |
| void Powertek.OpenGl.TaoGlContext.MakeCurrent | ( | ) |
Activate this as current Context.
| void Powertek.OpenGl.TaoGlContext.ReleaseContext | ( | ) |
Release OpenGL Ressources.
| void Powertek.OpenGl.TaoGlContext.SwapBuffers | ( | ) |
Render OpenGL Screen.
int Powertek.OpenGl.TaoGlContext.ColorBits [get] |
Return number of ColorBits.
int Powertek.OpenGl.TaoGlContext.DepthBits [get] |
Return number of Depth Bits.
IntPtr Powertek.OpenGl.TaoGlContext.DeviceContext [get] |
Return OpenGL device Context.
IntPtr Powertek.OpenGl.TaoGlContext.RenderingContext [get] |
Return OpenGL Rendering Context.
int Powertek.OpenGl.TaoGlContext.StencilBits [get] |
Return number of stencil bits.
1.5.7.1