C# Class CSharpGL.FBORenderContext

A render context.
Inheritance: HiddenWindowRenderContext
Show file Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
Blit ( IntPtr deviceContext ) : void

Create ( int width, int height, int bitDepth, object parameter ) : bool

Creates the render context provider. Must also create the OpenGL extensions.

SetDimensions ( int width, int height ) : void

Protected Methods

Method Description
DisposeUnmanagedResources ( ) : void

Private Methods

Method Description
CreateFramebuffer ( int width, int height ) : Framebuffer

Method Details

Blit() public method

public Blit ( IntPtr deviceContext ) : void
deviceContext System.IntPtr
return void

Create() public method

Creates the render context provider. Must also create the OpenGL extensions.
public Create ( int width, int height, int bitDepth, object parameter ) : bool
width int
height int
bitDepth int
parameter object
return bool

DisposeUnmanagedResources() protected method

protected DisposeUnmanagedResources ( ) : void
return void

SetDimensions() public method

public SetDimensions ( int width, int height ) : void
width int
height int
return void