Property | Type | Description | |
---|---|---|---|
windowHandle |
Method | Description | |
---|---|---|
Blit ( |
Sets the dimensions of the render context provider. Blit the rendered data to the supplied device context.
|
|
Create ( int width, int height, int bitDepth, object parameter ) : bool |
Creates the render context provider. Must also create the OpenGL extensions.
|
|
MakeCurrent ( ) : void |
Makes the render context current.
|
Method | Description | |
---|---|---|
DisposeUnmanagedResources ( ) : void |
Destroys the render context provider instance.
|
|
UpdateContextVersion ( ) : void |
Only valid to be called after the render context is created, this function attempts to move the render context to the OpenGL version originally requested. If this is > 2.1, this means building a new context. If this fails, we'll have to make do with 2.1.
|
Method | Description | |
---|---|---|
CreateBasicRenderContext ( int width, int height, int bitDepth ) : bool |
Create a new window class, as basic as possible.
|
|
WndProc ( |
public Blit ( |
||
deviceContext | The HDC. | |
return | void |
public Create ( int width, int height, int bitDepth, object parameter ) : bool | ||
width | int | The width. |
height | int | The height. |
bitDepth | int | The bit depth. |
parameter | object | The parameter |
return | bool |
protected DisposeUnmanagedResources ( ) : void | ||
return | void |