C# Class Tao.Platform.Windows.Wgl

Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
GetDelegate ( string name, Type signature ) : Delegate

Creates a System.Delegate that can be used to call an OpenGL function, core or extension.

IsExtensionSupported ( string name ) : bool

Determines whether the specified OpenGL extension category is available in the current OpenGL context. Equivalent to IsExtensionSupported(name, true)

Load ( string function ) : bool

Tries to reload the given OpenGL function (core or extension).

Use this function if you require greater granularity when loading OpenGL entry points.

While the automatic initialisation will load all OpenGL entry points, in some cases the initialisation can take place before an OpenGL Context has been established. In this case, use this function to load the entry points for the OpenGL functions you will need, or use ReloadFunctions() to load all available entry points.

This function returns true if the given OpenGL function is supported, false otherwise.

To query for supported extensions use the IsExtensionSupported() function instead.

ReloadFunctions ( ) : void

Loads all OpenGL functions (core and extensions).

This function will be automatically called the first time you use any opengl function. There is

Call this function manually whenever you need to update OpenGL entry points. This need may arise if you change the pixelformat/visual, or in case you cannot (or do not want) to use the automatic initialization of the GL class.

wglAllocateMemoryNV ( Int32 size, System.Single readfreq, System.Single writefreq, System.Single priority ) : IntPtr
wglAssociateImageBufferEventsI3D ( IntPtr hDC, IntPtr pEvent, IntPtr pAddress, Int32 pSize, Int32 count ) : System.Boolean
wglAssociateImageBufferEventsI3D ( IntPtr hDC, IntPtr pEvent, [ pAddress, Int32 pSize, Int32 count ) : System.Boolean
wglBeginFrameTrackingI3D ( ) : System.Boolean
wglBindDisplayColorTableEXT ( Int16 id ) : bool
wglBindTexImageARB ( IntPtr hPbuffer, int iBuffer ) : System.Boolean
wglChoosePixelFormat ( IntPtr hDc, Gdi pPfd ) : int
wglChoosePixelFormatARB ( IntPtr hdc, IntPtr piAttribIList, IntPtr pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
wglChoosePixelFormatARB ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
wglChoosePixelFormatEXT ( IntPtr hdc, IntPtr piAttribIList, IntPtr pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
wglChoosePixelFormatEXT ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
wglCopyContext ( IntPtr hglrcSrc, IntPtr hglrcDst, Int32 mask ) : System.Boolean
wglCreateBufferRegionARB ( IntPtr hDC, int iLayerPlane, Int32 uType ) : IntPtr
wglCreateContext ( IntPtr hDc ) : IntPtr
wglCreateDisplayColorTableEXT ( Int16 id ) : bool
wglCreateImageBufferI3D ( IntPtr hDC, Int32 dwSize, Int32 uFlags ) : IntPtr
wglCreateLayerContext ( IntPtr hDc, int level ) : IntPtr
wglCreatePbufferARB ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int piAttribList ) : IntPtr
wglCreatePbufferEXT ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int piAttribList ) : IntPtr
wglDeleteBufferRegionARB ( IntPtr hRegion ) : void
wglDeleteContext ( IntPtr oldContext ) : System.Boolean
wglDescribeLayerPlane ( IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, Gdi plpd ) : System.Boolean
wglDescribePixelFormat ( IntPtr hdc, int ipfd, Int32 cjpfd, Gdi ppfd ) : int
wglDestroyDisplayColorTableEXT ( Int16 id ) : void
wglDestroyImageBufferI3D ( IntPtr hDC, IntPtr pAddress ) : Boolean
wglDestroyImageBufferI3D ( IntPtr hDC, [ pAddress ) : Boolean
wglDestroyPbufferARB ( IntPtr hPbuffer ) : Boolean
wglDestroyPbufferEXT ( IntPtr hPbuffer ) : Boolean
wglDisableFrameLockI3D ( ) : Boolean
wglDisableGenlockI3D ( IntPtr hDC ) : Boolean
wglEnableFrameLockI3D ( ) : Boolean
wglEnableGenlockI3D ( IntPtr hDC ) : Boolean
wglEndFrameTrackingI3D ( ) : Boolean
wglFreeMemoryNV ( [ pointer ) : void
wglGenlockSampleRateI3D ( IntPtr hDC, Int32 uRate ) : Boolean
wglGenlockSourceDelayI3D ( IntPtr hDC, Int32 uDelay ) : Boolean
wglGenlockSourceEdgeI3D ( IntPtr hDC, Int32 uEdge ) : Boolean
wglGenlockSourceI3D ( IntPtr hDC, Int32 uSource ) : Boolean
wglGetCurrentContext ( ) : IntPtr
wglGetCurrentDC ( ) : IntPtr
wglGetCurrentReadDCARB ( ) : IntPtr
wglGetCurrentReadDCEXT ( ) : IntPtr
wglGetDefaultProcAddress ( String lpszProc ) : IntPtr
wglGetDigitalVideoParametersI3D ( IntPtr hDC, int iAttribute, [ piValue ) : Boolean
wglGetExtensionsStringARB ( IntPtr hdc ) : string
wglGetExtensionsStringEXT ( ) : string
wglGetFrameUsageI3D ( [ pUsage ) : Boolean
wglGetGammaTableParametersI3D ( IntPtr hDC, int iAttribute, [ piValue ) : Boolean
wglGetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr ) : int
wglGetMscRateOML ( IntPtr hdc, [ numerator, [ denominator ) : Boolean
wglGetPbufferDCARB ( IntPtr hPbuffer ) : IntPtr
wglGetPbufferDCEXT ( IntPtr hPbuffer ) : IntPtr
wglGetPixelFormat ( IntPtr hdc ) : int
wglGetPixelFormatAttribfvARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int piAttributes, [ pfValues ) : Boolean
wglGetPixelFormatAttribfvEXT ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [ piAttributes, [ pfValues ) : Boolean
wglGetPixelFormatAttribivARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int piAttributes, [ piValues ) : Boolean
wglGetPixelFormatAttribivEXT ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [ piAttributes, [ piValues ) : Boolean
wglGetProcAddress ( String lpszProc ) : IntPtr
wglGetSwapIntervalEXT ( ) : int
wglGetSyncValuesOML ( IntPtr hdc, [ ust, [ msc, [ sbc ) : Boolean
wglIsEnabledFrameLockI3D ( [ pFlag ) : Boolean
wglIsEnabledGenlockI3D ( IntPtr hDC, [ pFlag ) : Boolean
wglLoadDisplayColorTableEXT ( Int16 table, Int32 length ) : bool
wglLoadDisplayColorTableEXT ( IntPtr table, Int32 length ) : bool
wglMakeContextCurrentARB ( IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc ) : Boolean
wglMakeContextCurrentEXT ( IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc ) : Boolean
wglMakeCurrent ( IntPtr hDc, IntPtr newContext ) : Boolean
wglQueryFrameLockMasterI3D ( [ pFlag ) : Boolean
wglQueryFrameTrackingI3D ( [ pFrameCount, [ pMissedFrames, [ pLastMissedUsage ) : Boolean
wglQueryPbufferARB ( IntPtr hPbuffer, int iAttribute, [ piValue ) : Boolean
wglQueryPbufferEXT ( IntPtr hPbuffer, int iAttribute, [ piValue ) : Boolean
wglRealizeLayerPalette ( IntPtr hdc, int iLayerPlane, Boolean bRealize ) : Boolean
wglReleaseImageBufferEventsI3D ( IntPtr hDC, IntPtr pAddress, Int32 count ) : Boolean
wglReleaseImageBufferEventsI3D ( IntPtr hDC, [ pAddress, Int32 count ) : Boolean
wglReleasePbufferDCARB ( IntPtr hPbuffer, IntPtr hDC ) : int
wglReleasePbufferDCEXT ( IntPtr hPbuffer, IntPtr hDC ) : int
wglReleaseTexImageARB ( IntPtr hPbuffer, int iBuffer ) : Boolean
wglRestoreBufferRegionARB ( IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc ) : Boolean
wglSaveBufferRegionARB ( IntPtr hRegion, int x, int y, int width, int height ) : Boolean
wglSetDigitalVideoParametersI3D ( IntPtr hDC, int iAttribute, int piValue ) : Boolean
wglSetGammaTableI3D ( IntPtr hDC, int iEntries, Int16 puRed, Int16 puGreen, Int16 puBlue ) : Boolean
wglSetGammaTableI3D ( IntPtr hDC, int iEntries, IntPtr puRed, IntPtr puGreen, IntPtr puBlue ) : Boolean
wglSetGammaTableParametersI3D ( IntPtr hDC, int iAttribute, int piValue ) : Boolean
wglSetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr ) : int
wglSetPbufferAttribARB ( IntPtr hPbuffer, int piAttribList ) : Boolean
wglSetPixelFormat ( IntPtr hdc, int ipfd, Gdi ppfd ) : Boolean
wglShareLists ( IntPtr hrcSrvShare, IntPtr hrcSrvSource ) : Boolean
wglSwapBuffers ( IntPtr hdc ) : Boolean
wglSwapBuffersMscOML ( IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder ) : Int64
wglSwapIntervalEXT ( int interval ) : Boolean
wglSwapLayerBuffers ( IntPtr hdc, Int32 fuFlags ) : Boolean
wglSwapLayerBuffersMscOML ( IntPtr hdc, int fuPlanes, Int64 target_msc, Int64 divisor, Int64 remainder ) : Int64
wglUseFontBitmapsA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase ) : Boolean
wglUseFontBitmapsW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase ) : Boolean
wglUseFontOutlinesA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, Gdi glyphMetrics ) : Boolean
wglUseFontOutlinesW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, Gdi glyphMetrics ) : Boolean
wglWaitForMscOML ( IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [ ust, [ msc, [ sbc ) : Boolean
wglWaitForSbcOML ( IntPtr hdc, Int64 target_sbc, [ ust, [ msc, [ sbc ) : Boolean

Private Methods

Method Description
BuildExtensionList ( ) : void
GetExtensionDelegate ( string name, Type signature ) : Delegate

Creates a System.Delegate that can be used to call a dynamically exported OpenGL function.

Wgl ( ) : System
set ( object d, Delegate value ) : void
wglAssociateImageBufferEventsI3D ( IntPtr hDC, IntPtr pEvent, IntPtr pAddress, Int32 pSize, UInt32 count ) : System.Boolean
wglAssociateImageBufferEventsI3D ( IntPtr hDC, IntPtr pEvent, [ pAddress, Int32 pSize, UInt32 count ) : System.Boolean
wglAssociateImageBufferEventsI3D ( IntPtr hDC, IntPtr pEvent, [ pAddress, IntPtr pSize, Int32 count ) : System.Boolean
wglAssociateImageBufferEventsI3D ( IntPtr hDC, IntPtr pEvent, [ pAddress, IntPtr pSize, UInt32 count ) : System.Boolean
wglBindDisplayColorTableEXT ( UInt16 id ) : bool
wglChoosePixelFormat ( IntPtr hDc, IntPtr pPfd ) : int
wglChoosePixelFormatARB ( IntPtr hdc, IntPtr piAttribIList, IntPtr pfAttribFList, UInt32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
wglChoosePixelFormatARB ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, UInt32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
wglChoosePixelFormatEXT ( IntPtr hdc, IntPtr piAttribIList, IntPtr pfAttribFList, UInt32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
wglChoosePixelFormatEXT ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, UInt32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
wglCopyContext ( IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask ) : System.Boolean
wglCreateBufferRegionARB ( IntPtr hDC, int iLayerPlane, UInt32 uType ) : IntPtr
wglCreateDisplayColorTableEXT ( UInt16 id ) : bool
wglCreateImageBufferI3D ( IntPtr hDC, Int32 dwSize, UInt32 uFlags ) : IntPtr
wglCreatePbufferARB ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, IntPtr piAttribList ) : IntPtr
wglCreatePbufferEXT ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, IntPtr piAttribList ) : IntPtr
wglDescribeLayerPlane ( IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, IntPtr plpd ) : System.Boolean
wglDescribeLayerPlane ( IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, Gdi plpd ) : System.Boolean
wglDescribeLayerPlane ( IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, IntPtr plpd ) : System.Boolean
wglDescribePixelFormat ( IntPtr hdc, int ipfd, Int32 cjpfd, IntPtr ppfd ) : int
wglDescribePixelFormat ( IntPtr hdc, int ipfd, UInt32 cjpfd, Gdi ppfd ) : int
wglDescribePixelFormat ( IntPtr hdc, int ipfd, UInt32 cjpfd, IntPtr ppfd ) : int
wglDestroyDisplayColorTableEXT ( UInt16 id ) : void
wglGenlockSampleRateI3D ( IntPtr hDC, UInt32 uRate ) : Boolean
wglGenlockSourceDelayI3D ( IntPtr hDC, UInt32 uDelay ) : Boolean
wglGenlockSourceEdgeI3D ( IntPtr hDC, UInt32 uEdge ) : Boolean
wglGenlockSourceI3D ( IntPtr hDC, UInt32 uSource ) : Boolean
wglGetGammaTableI3D ( IntPtr hDC, int iEntries, [ puRed, [ puGreen, [ puBlue ) : Boolean
wglGetGenlockSampleRateI3D ( IntPtr hDC, [ uRate ) : Boolean
wglGetGenlockSourceDelayI3D ( IntPtr hDC, [ uDelay ) : Boolean
wglGetGenlockSourceEdgeI3D ( IntPtr hDC, [ uEdge ) : Boolean
wglGetGenlockSourceI3D ( IntPtr hDC, [ uSource ) : Boolean
wglGetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, IntPtr pcr ) : int
wglGetPixelFormatAttribfvARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, IntPtr piAttributes, [ pfValues ) : Boolean
wglGetPixelFormatAttribfvARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, IntPtr piAttributes, [ pfValues ) : Boolean
wglGetPixelFormatAttribfvARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int piAttributes, [ pfValues ) : Boolean
wglGetPixelFormatAttribfvEXT ( IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [ piAttributes, [ pfValues ) : Boolean
wglGetPixelFormatAttribivARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, IntPtr piAttributes, [ piValues ) : Boolean
wglGetPixelFormatAttribivARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, IntPtr piAttributes, [ piValues ) : Boolean
wglGetPixelFormatAttribivARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int piAttributes, [ piValues ) : Boolean
wglGetPixelFormatAttribivEXT ( IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [ piAttributes, [ piValues ) : Boolean
wglLoadDisplayColorTableEXT ( IntPtr table, UInt32 length ) : bool
wglLoadDisplayColorTableEXT ( UInt16 table, UInt32 length ) : bool
wglQueryGenlockMaxSourceDelayI3D ( IntPtr hDC, [ uMaxLineDelay, [ uMaxPixelDelay ) : Boolean
wglReleaseImageBufferEventsI3D ( IntPtr hDC, IntPtr pAddress, UInt32 count ) : Boolean
wglReleaseImageBufferEventsI3D ( IntPtr hDC, [ pAddress, UInt32 count ) : Boolean
wglSetDigitalVideoParametersI3D ( IntPtr hDC, int iAttribute, IntPtr piValue ) : Boolean
wglSetGammaTableI3D ( IntPtr hDC, int iEntries, UInt16 puRed, UInt16 puGreen, UInt16 puBlue ) : Boolean
wglSetGammaTableParametersI3D ( IntPtr hDC, int iAttribute, IntPtr piValue ) : Boolean
wglSetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, IntPtr pcr ) : int
wglSetPbufferAttribARB ( IntPtr hPbuffer, IntPtr piAttribList ) : Boolean
wglSetPixelFormat ( IntPtr hdc, int ipfd, IntPtr ppfd ) : Boolean
wglSwapLayerBuffers ( IntPtr hdc, UInt32 fuFlags ) : Boolean
wglUseFontOutlinesA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, IntPtr glyphMetrics ) : Boolean
wglUseFontOutlinesW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, IntPtr glyphMetrics ) : Boolean

Method Details

GetDelegate() public static method

Creates a System.Delegate that can be used to call an OpenGL function, core or extension.
public static GetDelegate ( string name, Type signature ) : Delegate
name string The name of the OpenGL function (eg. "glNewList")
signature System.Type The signature of the OpenGL function.
return System.Delegate

IsExtensionSupported() public static method

Determines whether the specified OpenGL extension category is available in the current OpenGL context. Equivalent to IsExtensionSupported(name, true)
public static IsExtensionSupported ( string name ) : bool
name string The string for the OpenGL extension category (eg. "GL_ARB_multitexture")
return bool

Load() public static method

Tries to reload the given OpenGL function (core or extension).

Use this function if you require greater granularity when loading OpenGL entry points.

While the automatic initialisation will load all OpenGL entry points, in some cases the initialisation can take place before an OpenGL Context has been established. In this case, use this function to load the entry points for the OpenGL functions you will need, or use ReloadFunctions() to load all available entry points.

This function returns true if the given OpenGL function is supported, false otherwise.

To query for supported extensions use the IsExtensionSupported() function instead.

public static Load ( string function ) : bool
function string The name of the OpenGL function (i.e. glShaderSource)
return bool

ReloadFunctions() public static method

Loads all OpenGL functions (core and extensions).

This function will be automatically called the first time you use any opengl function. There is

Call this function manually whenever you need to update OpenGL entry points. This need may arise if you change the pixelformat/visual, or in case you cannot (or do not want) to use the automatic initialization of the GL class.

public static ReloadFunctions ( ) : void
return void

wglAllocateMemoryNV() public static method

public static wglAllocateMemoryNV ( Int32 size, System.Single readfreq, System.Single writefreq, System.Single priority ) : IntPtr
size System.Int32
readfreq System.Single
writefreq System.Single
priority System.Single
return System.IntPtr

wglAssociateImageBufferEventsI3D() public static method

public static wglAssociateImageBufferEventsI3D ( IntPtr hDC, IntPtr pEvent, IntPtr pAddress, Int32 pSize, Int32 count ) : System.Boolean
hDC System.IntPtr
pEvent System.IntPtr
pAddress System.IntPtr
pSize System.Int32
count System.Int32
return System.Boolean

wglAssociateImageBufferEventsI3D() public static method

public static wglAssociateImageBufferEventsI3D ( IntPtr hDC, IntPtr pEvent, [ pAddress, Int32 pSize, Int32 count ) : System.Boolean
hDC System.IntPtr
pEvent System.IntPtr
pAddress [
pSize System.Int32
count System.Int32
return System.Boolean

wglBeginFrameTrackingI3D() public static method

public static wglBeginFrameTrackingI3D ( ) : System.Boolean
return System.Boolean

wglBindDisplayColorTableEXT() public static method

public static wglBindDisplayColorTableEXT ( Int16 id ) : bool
id System.Int16
return bool

wglBindTexImageARB() public static method

public static wglBindTexImageARB ( IntPtr hPbuffer, int iBuffer ) : System.Boolean
hPbuffer System.IntPtr
iBuffer int
return System.Boolean

wglChoosePixelFormat() public static method

public static wglChoosePixelFormat ( IntPtr hDc, Gdi pPfd ) : int
hDc System.IntPtr
pPfd Gdi
return int

wglChoosePixelFormatARB() public static method

public static wglChoosePixelFormatARB ( IntPtr hdc, IntPtr piAttribIList, IntPtr pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
hdc System.IntPtr
piAttribIList System.IntPtr
pfAttribFList System.IntPtr
nMaxFormats System.Int32
piFormats [
nNumFormats [
return System.Boolean

wglChoosePixelFormatARB() public static method

public static wglChoosePixelFormatARB ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
hdc System.IntPtr
piAttribIList int
pfAttribFList System.Single
nMaxFormats System.Int32
piFormats [
nNumFormats [
return System.Boolean

wglChoosePixelFormatEXT() public static method

public static wglChoosePixelFormatEXT ( IntPtr hdc, IntPtr piAttribIList, IntPtr pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
hdc System.IntPtr
piAttribIList System.IntPtr
pfAttribFList System.IntPtr
nMaxFormats System.Int32
piFormats [
nNumFormats [
return System.Boolean

wglChoosePixelFormatEXT() public static method

public static wglChoosePixelFormatEXT ( IntPtr hdc, int piAttribIList, System.Single pfAttribFList, Int32 nMaxFormats, [ piFormats, [ nNumFormats ) : System.Boolean
hdc System.IntPtr
piAttribIList int
pfAttribFList System.Single
nMaxFormats System.Int32
piFormats [
nNumFormats [
return System.Boolean

wglCopyContext() public static method

public static wglCopyContext ( IntPtr hglrcSrc, IntPtr hglrcDst, Int32 mask ) : System.Boolean
hglrcSrc System.IntPtr
hglrcDst System.IntPtr
mask System.Int32
return System.Boolean

wglCreateBufferRegionARB() public static method

public static wglCreateBufferRegionARB ( IntPtr hDC, int iLayerPlane, Int32 uType ) : IntPtr
hDC System.IntPtr
iLayerPlane int
uType System.Int32
return System.IntPtr

wglCreateContext() public static method

public static wglCreateContext ( IntPtr hDc ) : IntPtr
hDc System.IntPtr
return System.IntPtr

wglCreateDisplayColorTableEXT() public static method

public static wglCreateDisplayColorTableEXT ( Int16 id ) : bool
id System.Int16
return bool

wglCreateImageBufferI3D() public static method

public static wglCreateImageBufferI3D ( IntPtr hDC, Int32 dwSize, Int32 uFlags ) : IntPtr
hDC System.IntPtr
dwSize System.Int32
uFlags System.Int32
return System.IntPtr

wglCreateLayerContext() public static method

public static wglCreateLayerContext ( IntPtr hDc, int level ) : IntPtr
hDc System.IntPtr
level int
return System.IntPtr

wglCreatePbufferARB() public static method

public static wglCreatePbufferARB ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int piAttribList ) : IntPtr
hDC System.IntPtr
iPixelFormat int
iWidth int
iHeight int
piAttribList int
return System.IntPtr

wglCreatePbufferEXT() public static method

public static wglCreatePbufferEXT ( IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int piAttribList ) : IntPtr
hDC System.IntPtr
iPixelFormat int
iWidth int
iHeight int
piAttribList int
return System.IntPtr

wglDeleteBufferRegionARB() public static method

public static wglDeleteBufferRegionARB ( IntPtr hRegion ) : void
hRegion System.IntPtr
return void

wglDeleteContext() public static method

public static wglDeleteContext ( IntPtr oldContext ) : System.Boolean
oldContext System.IntPtr
return System.Boolean

wglDescribeLayerPlane() public static method

public static wglDescribeLayerPlane ( IntPtr hDc, int pixelFormat, int layerPlane, Int32 nBytes, Gdi plpd ) : System.Boolean
hDc System.IntPtr
pixelFormat int
layerPlane int
nBytes System.Int32
plpd Gdi
return System.Boolean

wglDescribePixelFormat() public static method

public static wglDescribePixelFormat ( IntPtr hdc, int ipfd, Int32 cjpfd, Gdi ppfd ) : int
hdc IntPtr
ipfd int
cjpfd Int32
ppfd Gdi
return int

wglDestroyDisplayColorTableEXT() public static method

public static wglDestroyDisplayColorTableEXT ( Int16 id ) : void
id Int16
return void

wglDestroyImageBufferI3D() public static method

public static wglDestroyImageBufferI3D ( IntPtr hDC, IntPtr pAddress ) : Boolean
hDC IntPtr
pAddress IntPtr
return Boolean

wglDestroyImageBufferI3D() public static method

public static wglDestroyImageBufferI3D ( IntPtr hDC, [ pAddress ) : Boolean
hDC IntPtr
pAddress [
return Boolean

wglDestroyPbufferARB() public static method

public static wglDestroyPbufferARB ( IntPtr hPbuffer ) : Boolean
hPbuffer IntPtr
return Boolean

wglDestroyPbufferEXT() public static method

public static wglDestroyPbufferEXT ( IntPtr hPbuffer ) : Boolean
hPbuffer IntPtr
return Boolean

wglDisableFrameLockI3D() public static method

public static wglDisableFrameLockI3D ( ) : Boolean
return Boolean

wglDisableGenlockI3D() public static method

public static wglDisableGenlockI3D ( IntPtr hDC ) : Boolean
hDC IntPtr
return Boolean

wglEnableFrameLockI3D() public static method

public static wglEnableFrameLockI3D ( ) : Boolean
return Boolean

wglEnableGenlockI3D() public static method

public static wglEnableGenlockI3D ( IntPtr hDC ) : Boolean
hDC IntPtr
return Boolean

wglEndFrameTrackingI3D() public static method

public static wglEndFrameTrackingI3D ( ) : Boolean
return Boolean

wglFreeMemoryNV() public static method

public static wglFreeMemoryNV ( [ pointer ) : void
pointer [
return void

wglGenlockSampleRateI3D() public static method

public static wglGenlockSampleRateI3D ( IntPtr hDC, Int32 uRate ) : Boolean
hDC IntPtr
uRate Int32
return Boolean

wglGenlockSourceDelayI3D() public static method

public static wglGenlockSourceDelayI3D ( IntPtr hDC, Int32 uDelay ) : Boolean
hDC IntPtr
uDelay Int32
return Boolean

wglGenlockSourceEdgeI3D() public static method

public static wglGenlockSourceEdgeI3D ( IntPtr hDC, Int32 uEdge ) : Boolean
hDC IntPtr
uEdge Int32
return Boolean

wglGenlockSourceI3D() public static method

public static wglGenlockSourceI3D ( IntPtr hDC, Int32 uSource ) : Boolean
hDC IntPtr
uSource Int32
return Boolean

wglGetCurrentContext() public static method

public static wglGetCurrentContext ( ) : IntPtr
return IntPtr

wglGetCurrentDC() public static method

public static wglGetCurrentDC ( ) : IntPtr
return IntPtr

wglGetCurrentReadDCARB() public static method

public static wglGetCurrentReadDCARB ( ) : IntPtr
return IntPtr

wglGetCurrentReadDCEXT() public static method

public static wglGetCurrentReadDCEXT ( ) : IntPtr
return IntPtr

wglGetDefaultProcAddress() public static method

public static wglGetDefaultProcAddress ( String lpszProc ) : IntPtr
lpszProc String
return IntPtr

wglGetDigitalVideoParametersI3D() public static method

public static wglGetDigitalVideoParametersI3D ( IntPtr hDC, int iAttribute, [ piValue ) : Boolean
hDC IntPtr
iAttribute int
piValue [
return Boolean

wglGetExtensionsStringARB() public static method

public static wglGetExtensionsStringARB ( IntPtr hdc ) : string
hdc IntPtr
return string

wglGetExtensionsStringEXT() public static method

public static wglGetExtensionsStringEXT ( ) : string
return string

wglGetFrameUsageI3D() public static method

public static wglGetFrameUsageI3D ( [ pUsage ) : Boolean
pUsage [
return Boolean

wglGetGammaTableParametersI3D() public static method

public static wglGetGammaTableParametersI3D ( IntPtr hDC, int iAttribute, [ piValue ) : Boolean
hDC IntPtr
iAttribute int
piValue [
return Boolean

wglGetLayerPaletteEntries() public static method

public static wglGetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr ) : int
hdc IntPtr
iLayerPlane int
iStart int
cEntries int
pcr Int32
return int

wglGetMscRateOML() public static method

public static wglGetMscRateOML ( IntPtr hdc, [ numerator, [ denominator ) : Boolean
hdc IntPtr
numerator [
denominator [
return Boolean

wglGetPbufferDCARB() public static method

public static wglGetPbufferDCARB ( IntPtr hPbuffer ) : IntPtr
hPbuffer IntPtr
return IntPtr

wglGetPbufferDCEXT() public static method

public static wglGetPbufferDCEXT ( IntPtr hPbuffer ) : IntPtr
hPbuffer IntPtr
return IntPtr

wglGetPixelFormat() public static method

public static wglGetPixelFormat ( IntPtr hdc ) : int
hdc IntPtr
return int

wglGetPixelFormatAttribfvARB() public static method

public static wglGetPixelFormatAttribfvARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int piAttributes, [ pfValues ) : Boolean
hdc IntPtr
iPixelFormat int
iLayerPlane int
nAttributes Int32
piAttributes int
pfValues [
return Boolean

wglGetPixelFormatAttribfvEXT() public static method

public static wglGetPixelFormatAttribfvEXT ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [ piAttributes, [ pfValues ) : Boolean
hdc IntPtr
iPixelFormat int
iLayerPlane int
nAttributes Int32
piAttributes [
pfValues [
return Boolean

wglGetPixelFormatAttribivARB() public static method

public static wglGetPixelFormatAttribivARB ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, int piAttributes, [ piValues ) : Boolean
hdc IntPtr
iPixelFormat int
iLayerPlane int
nAttributes Int32
piAttributes int
piValues [
return Boolean

wglGetPixelFormatAttribivEXT() public static method

public static wglGetPixelFormatAttribivEXT ( IntPtr hdc, int iPixelFormat, int iLayerPlane, Int32 nAttributes, [ piAttributes, [ piValues ) : Boolean
hdc IntPtr
iPixelFormat int
iLayerPlane int
nAttributes Int32
piAttributes [
piValues [
return Boolean

wglGetProcAddress() public static method

public static wglGetProcAddress ( String lpszProc ) : IntPtr
lpszProc String
return IntPtr

wglGetSwapIntervalEXT() public static method

public static wglGetSwapIntervalEXT ( ) : int
return int

wglGetSyncValuesOML() public static method

public static wglGetSyncValuesOML ( IntPtr hdc, [ ust, [ msc, [ sbc ) : Boolean
hdc IntPtr
ust [
msc [
sbc [
return Boolean

wglIsEnabledFrameLockI3D() public static method

public static wglIsEnabledFrameLockI3D ( [ pFlag ) : Boolean
pFlag [
return Boolean

wglIsEnabledGenlockI3D() public static method

public static wglIsEnabledGenlockI3D ( IntPtr hDC, [ pFlag ) : Boolean
hDC IntPtr
pFlag [
return Boolean

wglLoadDisplayColorTableEXT() public static method

public static wglLoadDisplayColorTableEXT ( Int16 table, Int32 length ) : bool
table Int16
length Int32
return bool

wglLoadDisplayColorTableEXT() public static method

public static wglLoadDisplayColorTableEXT ( IntPtr table, Int32 length ) : bool
table IntPtr
length Int32
return bool

wglMakeContextCurrentARB() public static method

public static wglMakeContextCurrentARB ( IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc ) : Boolean
hDrawDC IntPtr
hReadDC IntPtr
hglrc IntPtr
return Boolean

wglMakeContextCurrentEXT() public static method

public static wglMakeContextCurrentEXT ( IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc ) : Boolean
hDrawDC IntPtr
hReadDC IntPtr
hglrc IntPtr
return Boolean

wglMakeCurrent() public static method

public static wglMakeCurrent ( IntPtr hDc, IntPtr newContext ) : Boolean
hDc IntPtr
newContext IntPtr
return Boolean

wglQueryFrameLockMasterI3D() public static method

public static wglQueryFrameLockMasterI3D ( [ pFlag ) : Boolean
pFlag [
return Boolean

wglQueryFrameTrackingI3D() public static method

public static wglQueryFrameTrackingI3D ( [ pFrameCount, [ pMissedFrames, [ pLastMissedUsage ) : Boolean
pFrameCount [
pMissedFrames [
pLastMissedUsage [
return Boolean

wglQueryPbufferARB() public static method

public static wglQueryPbufferARB ( IntPtr hPbuffer, int iAttribute, [ piValue ) : Boolean
hPbuffer IntPtr
iAttribute int
piValue [
return Boolean

wglQueryPbufferEXT() public static method

public static wglQueryPbufferEXT ( IntPtr hPbuffer, int iAttribute, [ piValue ) : Boolean
hPbuffer IntPtr
iAttribute int
piValue [
return Boolean

wglRealizeLayerPalette() public static method

public static wglRealizeLayerPalette ( IntPtr hdc, int iLayerPlane, Boolean bRealize ) : Boolean
hdc IntPtr
iLayerPlane int
bRealize Boolean
return Boolean

wglReleaseImageBufferEventsI3D() public static method

public static wglReleaseImageBufferEventsI3D ( IntPtr hDC, IntPtr pAddress, Int32 count ) : Boolean
hDC IntPtr
pAddress IntPtr
count Int32
return Boolean

wglReleaseImageBufferEventsI3D() public static method

public static wglReleaseImageBufferEventsI3D ( IntPtr hDC, [ pAddress, Int32 count ) : Boolean
hDC IntPtr
pAddress [
count Int32
return Boolean

wglReleasePbufferDCARB() public static method

public static wglReleasePbufferDCARB ( IntPtr hPbuffer, IntPtr hDC ) : int
hPbuffer IntPtr
hDC IntPtr
return int

wglReleasePbufferDCEXT() public static method

public static wglReleasePbufferDCEXT ( IntPtr hPbuffer, IntPtr hDC ) : int
hPbuffer IntPtr
hDC IntPtr
return int

wglReleaseTexImageARB() public static method

public static wglReleaseTexImageARB ( IntPtr hPbuffer, int iBuffer ) : Boolean
hPbuffer IntPtr
iBuffer int
return Boolean

wglRestoreBufferRegionARB() public static method

public static wglRestoreBufferRegionARB ( IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc ) : Boolean
hRegion IntPtr
x int
y int
width int
height int
xSrc int
ySrc int
return Boolean

wglSaveBufferRegionARB() public static method

public static wglSaveBufferRegionARB ( IntPtr hRegion, int x, int y, int width, int height ) : Boolean
hRegion IntPtr
x int
y int
width int
height int
return Boolean

wglSetDigitalVideoParametersI3D() public static method

public static wglSetDigitalVideoParametersI3D ( IntPtr hDC, int iAttribute, int piValue ) : Boolean
hDC IntPtr
iAttribute int
piValue int
return Boolean

wglSetGammaTableI3D() public static method

public static wglSetGammaTableI3D ( IntPtr hDC, int iEntries, Int16 puRed, Int16 puGreen, Int16 puBlue ) : Boolean
hDC IntPtr
iEntries int
puRed Int16
puGreen Int16
puBlue Int16
return Boolean

wglSetGammaTableI3D() public static method

public static wglSetGammaTableI3D ( IntPtr hDC, int iEntries, IntPtr puRed, IntPtr puGreen, IntPtr puBlue ) : Boolean
hDC IntPtr
iEntries int
puRed IntPtr
puGreen IntPtr
puBlue IntPtr
return Boolean

wglSetGammaTableParametersI3D() public static method

public static wglSetGammaTableParametersI3D ( IntPtr hDC, int iAttribute, int piValue ) : Boolean
hDC IntPtr
iAttribute int
piValue int
return Boolean

wglSetLayerPaletteEntries() public static method

public static wglSetLayerPaletteEntries ( IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32 pcr ) : int
hdc IntPtr
iLayerPlane int
iStart int
cEntries int
pcr Int32
return int

wglSetPbufferAttribARB() public static method

public static wglSetPbufferAttribARB ( IntPtr hPbuffer, int piAttribList ) : Boolean
hPbuffer IntPtr
piAttribList int
return Boolean

wglSetPixelFormat() public static method

public static wglSetPixelFormat ( IntPtr hdc, int ipfd, Gdi ppfd ) : Boolean
hdc IntPtr
ipfd int
ppfd Gdi
return Boolean

wglShareLists() public static method

public static wglShareLists ( IntPtr hrcSrvShare, IntPtr hrcSrvSource ) : Boolean
hrcSrvShare IntPtr
hrcSrvSource IntPtr
return Boolean

wglSwapBuffers() public static method

public static wglSwapBuffers ( IntPtr hdc ) : Boolean
hdc IntPtr
return Boolean

wglSwapBuffersMscOML() public static method

public static wglSwapBuffersMscOML ( IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder ) : Int64
hdc IntPtr
target_msc Int64
divisor Int64
remainder Int64
return Int64

wglSwapIntervalEXT() public static method

public static wglSwapIntervalEXT ( int interval ) : Boolean
interval int
return Boolean

wglSwapLayerBuffers() public static method

public static wglSwapLayerBuffers ( IntPtr hdc, Int32 fuFlags ) : Boolean
hdc IntPtr
fuFlags Int32
return Boolean

wglSwapLayerBuffersMscOML() public static method

public static wglSwapLayerBuffersMscOML ( IntPtr hdc, int fuPlanes, Int64 target_msc, Int64 divisor, Int64 remainder ) : Int64
hdc IntPtr
fuPlanes int
target_msc Int64
divisor Int64
remainder Int64
return Int64

wglUseFontBitmapsA() public static method

public static wglUseFontBitmapsA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase ) : Boolean
hDC IntPtr
first Int32
count Int32
listBase Int32
return Boolean

wglUseFontBitmapsW() public static method

public static wglUseFontBitmapsW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase ) : Boolean
hDC IntPtr
first Int32
count Int32
listBase Int32
return Boolean

wglUseFontOutlinesA() public static method

public static wglUseFontOutlinesA ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, Gdi glyphMetrics ) : Boolean
hDC IntPtr
first Int32
count Int32
listBase Int32
thickness float
deviation float
fontMode Int32
glyphMetrics Gdi
return Boolean

wglUseFontOutlinesW() public static method

public static wglUseFontOutlinesW ( IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, Gdi glyphMetrics ) : Boolean
hDC IntPtr
first Int32
count Int32
listBase Int32
thickness float
deviation float
fontMode Int32
glyphMetrics Gdi
return Boolean

wglWaitForMscOML() public static method

public static wglWaitForMscOML ( IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [ ust, [ msc, [ sbc ) : Boolean
hdc IntPtr
target_msc Int64
divisor Int64
remainder Int64
ust [
msc [
sbc [
return Boolean

wglWaitForSbcOML() public static method

public static wglWaitForSbcOML ( IntPtr hdc, Int64 target_sbc, [ ust, [ msc, [ sbc ) : Boolean
hdc IntPtr
target_sbc Int64
ust [
msc [
sbc [
return Boolean