Click or drag to resize

RenderCreateWindowContextWithGpuAfinity Method

Create a OpenGL Gpu affinity context attached to a window handle.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public RenderContext CreateWindowContextWithGpuAfinity(
	IntPtr windowHandle,
	RenderContext gpuAffinityContext
)

Parameters

windowHandle
Type: SystemIntPtr
The window handle to attached the OpenGL Gpu affinity context to.
gpuAffinityContext
Type: Lumiscaphe.Workshop.InteropRenderContext
The Gpu affinity context created with CreateGpuAffinityContext(Int32, Boolean).

Return Value

Type: RenderContext
The created OpenGL Gpu affinity context attached to the window handle.
Exceptions
ExceptionCondition
ObjectDestroyedExceptionIsDestroyed == true
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also