/** * Creates an affinity-DC. Affinity-DCs, a new type of DC, can be used to direct OpenGL commands * to a specific GPU or set of GPUs. An affinity-DC is a device context with a GPU affinity mask * embedded in it. This restricts the device context to only allow OpenGL commands to be sent to * the GPU(s) in the affinity mask. An affinity-DC can be created directly, using the new function * {@code wglCreateAffinityDCNV} and also indirectly by calling {@link * WGLARBPbuffer#wglCreatePbufferARB CreatePbufferARB} followed by {@link * WGLARBPbuffer#wglGetPbufferDCARB GetPbufferDCARB}. * * <p>If successful, the function returns an affinity-DC handle. If it fails, NULL will be * returned. * * @param gpuList a NULL-terminated array of GPU handles to which the affinity-DC will be * restricted */ public static long wglCreateAffinityDCNV(ByteBuffer gpuList) { if (CHECKS) checkNTP(gpuList); return nwglCreateAffinityDCNV(memAddress(gpuList)); }