Class Wgl
Assembly: OpenTK.dll
Constructors
Declaration
Methods
Declaration
[AutoGenerated(EntryPoint = "wglDXCloseDeviceNV")]
public static bool DXCloseDeviceNV(IntPtr dxDevice)
Parameters
Type |
Name |
Description |
IntPtr |
dxDevice |
|
Returns
Declaration
[AutoGenerated(EntryPoint = "wglDXLockObjectsNV")]
public static bool DXLockObjectsNV(IntPtr hDevice, int count, IntPtr[] hObjects)
Parameters
Returns
Declaration
[AutoGenerated(EntryPoint = "wglDXObjectAccessNV")]
public static bool DXObjectAccessNV(IntPtr hObject, WGL_NV_DX_interop access)
Parameters
Returns
Declaration
[AutoGenerated(EntryPoint = "wglDXOpenDeviceNV")]
public static IntPtr DXOpenDeviceNV(IntPtr dxDevice)
Parameters
Type |
Name |
Description |
IntPtr |
dxDevice |
|
Returns
Declaration
[AutoGenerated(EntryPoint = "wglDXRegisterObjectNV")]
public static IntPtr DXRegisterObjectNV(IntPtr hDevice, IntPtr dxObject, uint name, uint type, WGL_NV_DX_interop access)
Parameters
Returns
Declaration
[AutoGenerated(EntryPoint = "wglDXSetResourceShareHandleNV")]
public static bool DXSetResourceShareHandleNV(IntPtr dxResource, IntPtr shareHandle)
Parameters
Returns
Declaration
[AutoGenerated(EntryPoint = "wglDXUnlockObjectsNV")]
public static bool DXUnlockObjectsNV(IntPtr hDevice, int count, IntPtr[] hObjects)
Parameters
Returns
Declaration
[AutoGenerated(EntryPoint = "wglDXUnregisterObjectNV")]
public static bool DXUnregisterObjectNV(IntPtr hDevice, IntPtr hObject)
Parameters
Returns
Checks if a Wgl extension is supported by the given context.
Declaration
public static bool SupportsExtension(IntPtr dc, string name)
Parameters
Type |
Name |
Description |
IntPtr |
dc |
The device context.
|
String |
name |
The extension to check.
|
Returns
Type |
Description |
Boolean |
True if the extension is supported by the given context, false otherwise
|
Declaration
public static bool SupportsExtension(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
Checks whether an extension function is supported.
Do not use with core WGL functions, as this function
will incorrectly return false.
Declaration
public static bool SupportsFunction(string name)
Parameters
Type |
Name |
Description |
String |
name |
The extension function to check (e.g. "wglGetExtensionsStringARB"
|
Returns
Type |
Description |
Boolean |
True if the extension function is supported; otherwise, false.
|