C# Class Reign.Video.OpenGL.WGL

Exibir arquivo Open project: reignstudios/ReignSDK Class Usage Examples

Public Properties

Property Type Description
SwapInterval SwapIntervalFunc

Public Methods

Method Description
Init ( ) : void
ZeroPixelDescriptor ( PIXELFORMATDESCRIPTOR &pfd ) : void

Private Methods

Method Description
ChoosePixelFormat ( IntPtr hdc, PIXELFORMATDESCRIPTOR &p_pfd ) : int
CreateContext ( IntPtr hdc ) : IntPtr
DeleteContext ( IntPtr hglrc ) : int
GetDC ( IntPtr hwnd ) : IntPtr
MakeCurrent ( IntPtr hdc, IntPtr hglrc ) : int
ReleaseDC ( IntPtr hwnd, IntPtr dc ) : int
SetPixelFormat ( IntPtr hdc, int iPixelFormat, PIXELFORMATDESCRIPTOR &p_pfd ) : uint
SwapBuffers ( IntPtr hdc ) : IntPtr

Method Details

Init() public static method

public static Init ( ) : void
return void

ZeroPixelDescriptor() public static method

public static ZeroPixelDescriptor ( PIXELFORMATDESCRIPTOR &pfd ) : void
pfd PIXELFORMATDESCRIPTOR
return void

Property Details

SwapInterval public_oe static_oe property

public static SwapIntervalFunc SwapInterval
return SwapIntervalFunc