C# 클래스 CSharpGL.RenderContext

All information for creating render context and device context.
상속: IDisposable
파일 보기 프로젝트 열기: bitzhuwei/CSharpGL 1 사용 예제들

공개 메소드들

메소드 설명
Blit ( IntPtr deviceContext ) : void

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.

SetDimensions ( int width, int height ) : void

Sets the dimensions of the render context provider.

메소드 상세

Blit() 공개 추상적인 메소드

Blit the rendered data to the supplied device context.
public abstract Blit ( IntPtr deviceContext ) : void
deviceContext System.IntPtr The HDC.
리턴 void

Create() 공개 메소드

Creates the render context provider. Must also create the OpenGL extensions.
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 extra parameter.
리턴 bool

MakeCurrent() 공개 추상적인 메소드

Makes the render context current.
public abstract MakeCurrent ( ) : void
리턴 void

SetDimensions() 공개 메소드

Sets the dimensions of the render context provider.
public SetDimensions ( int width, int height ) : void
width int Width.
height int Height.
리턴 void