/** Unsafe version of: {@link #wglGetExtensionsStringEXT GetExtensionsStringEXT} */ public static long nwglGetExtensionsStringEXT() { long __functionAddress = GL.getCapabilitiesWGL().wglGetExtensionsStringEXT; if (CHECKS) { check(__functionAddress); } return callP(__functionAddress); }
public static void nwglFreeMemoryNV(long pointer) { long __functionAddress = GL.getCapabilitiesWGL().wglFreeMemoryNV; if (CHECKS) { check(__functionAddress); } callPV(__functionAddress, pointer); }
/** Unsafe version of: {@link #wglQueryPbufferARB QueryPbufferARB} */ public static int nwglQueryPbufferARB(long pbuffer, int attribute, long value) { long __functionAddress = GL.getCapabilitiesWGL().wglQueryPbufferARB; if (CHECKS) { check(__functionAddress); check(pbuffer); } return callPPI(__functionAddress, pbuffer, attribute, value); }
public static int nwglQuerySwapGroupNV(long hDC, long group, long barrier) { long __functionAddress = GL.getCapabilitiesWGL().wglQuerySwapGroupNV; if (CHECKS) { check(__functionAddress); check(hDC); } return callPPPI(__functionAddress, hDC, group, barrier); }
/** Unsafe version of: {@link #wglCreateContextAttribsARB CreateContextAttribsARB} */ public static long nwglCreateContextAttribsARB(long hdc, long shareContext, long attribList) { long __functionAddress = GL.getCapabilitiesWGL().wglCreateContextAttribsARB; if (CHECKS) { check(__functionAddress); check(hdc); } return callPPPP(__functionAddress, hdc, shareContext, attribList); }
/** Unsafe version of: {@link #wglEnumGpusFromAffinityDCNV EnumGpusFromAffinityDCNV} */ public static int nwglEnumGpusFromAffinityDCNV(long affinityDC, int gpuIndex, long gpu) { long __functionAddress = GL.getCapabilitiesWGL().wglEnumGpusFromAffinityDCNV; if (CHECKS) { check(__functionAddress); check(affinityDC); } return callPPI(__functionAddress, affinityDC, gpuIndex, gpu); }
/** Unsafe version of: {@link #wglGetExtensionsStringARB GetExtensionsStringARB} */ public static long nwglGetExtensionsStringARB(long hdc) { long __functionAddress = GL.getCapabilitiesWGL().wglGetExtensionsStringARB; if (CHECKS) { check(__functionAddress); check(hdc); } return callPP(__functionAddress, hdc); }
/** Returns the current associated context in the current thread. */ @NativeType("HGLRC") public static long wglGetCurrentAssociatedContextAMD() { long __functionAddress = GL.getCapabilitiesWGL().wglGetCurrentAssociatedContextAMD; if (CHECKS) { check(__functionAddress); } return callP(__functionAddress); }
/** Unsafe version of: {@link #wglSetPbufferAttribARB SetPbufferAttribARB} */ public static int nwglSetPbufferAttribARB(long pbuffer, long attribList) { long __functionAddress = GL.getCapabilitiesWGL().wglSetPbufferAttribARB; if (CHECKS) { check(__functionAddress); check(pbuffer); } return callPPI(__functionAddress, pbuffer, attribList); }
/** Array version of: {@link #wglGetGPUIDsAMD GetGPUIDsAMD} */ @NativeType("UINT") public static int wglGetGPUIDsAMD(@Nullable @NativeType("UINT *") int[] ids) { long __functionAddress = GL.getCapabilitiesWGL().wglGetGPUIDsAMD; if (CHECKS) { check(__functionAddress); } return callPI(__functionAddress, lengthSafe(ids), ids); }
@NativeType("BOOL") public static boolean wglDXCloseDeviceNV(@NativeType("HANDLE") long device) { long __functionAddress = GL.getCapabilitiesWGL().wglDXCloseDeviceNV; if (CHECKS) { check(__functionAddress); check(device); } return callPI(__functionAddress, device) != 0; }
/** Array version of: {@link #wglGetGPUInfoAMD GetGPUInfoAMD} */ public static int wglGetGPUInfoAMD(@NativeType("UINT") int id, int property, @NativeType("GLenum") int dataType, @NativeType("void *") float[] data) { long __functionAddress = GL.getCapabilitiesWGL().wglGetGPUInfoAMD; if (CHECKS) { check(__functionAddress); } return callPI(__functionAddress, id, property, dataType, data.length, data); }
/** Array version of: {@link #wglCreatePbufferARB CreatePbufferARB} */ @NativeType("HPBUFFERARB") public static long wglCreatePbufferARB(@NativeType("HDC") long hdc, int pixelFormat, int width, int height, @Nullable @NativeType("int const *") int[] attribList) { long __functionAddress = GL.getCapabilitiesWGL().wglCreatePbufferARB; if (CHECKS) { check(__functionAddress); check(hdc); checkNTSafe(attribList); } return callPPP(__functionAddress, hdc, pixelFormat, width, height, attribList); }
/** Array version of: {@link #wglSetPbufferAttribARB SetPbufferAttribARB} */ @NativeType("BOOL") public static boolean wglSetPbufferAttribARB(@NativeType("HPBUFFERARB") long pbuffer, @Nullable @NativeType("int const *") int[] attribList) { long __functionAddress = GL.getCapabilitiesWGL().wglSetPbufferAttribARB; if (CHECKS) { check(__functionAddress); check(pbuffer); checkNTSafe(attribList); } return callPPI(__functionAddress, pbuffer, attribList) != 0; }
@NativeType("BOOL") public static boolean wglBindSwapBarrierNV(@NativeType("GLuint") int group, @NativeType("GLuint") int barrier) { long __functionAddress = GL.getCapabilitiesWGL().wglBindSwapBarrierNV; if (CHECKS) { check(__functionAddress); } return callI(__functionAddress, group, barrier) != 0; }
@NativeType("BOOL") public static boolean wglResetFrameCountNV(@NativeType("HDC") long hDC) { long __functionAddress = GL.getCapabilitiesWGL().wglResetFrameCountNV; if (CHECKS) { check(__functionAddress); check(hDC); } return callPI(__functionAddress, hDC) != 0; }
/** Array version of: {@link #wglCreateContextAttribsARB CreateContextAttribsARB} */ @NativeType("HGLRC") public static long wglCreateContextAttribsARB(@NativeType("HDC") long hdc, @NativeType("HGLRC") long shareContext, @Nullable @NativeType("int const *") int[] attribList) { long __functionAddress = GL.getCapabilitiesWGL().wglCreateContextAttribsARB; if (CHECKS) { check(__functionAddress); check(hdc); checkNTSafe(attribList); } return callPPPP(__functionAddress, hdc, shareContext, attribList); }
/** Array version of: {@link #wglQueryFrameCountNV QueryFrameCountNV} */ @NativeType("BOOL") public static boolean wglQueryFrameCountNV(@NativeType("HDC") long hDC, @NativeType("GLuint *") int[] count) { long __functionAddress = GL.getCapabilitiesWGL().wglQueryFrameCountNV; if (CHECKS) { check(__functionAddress); check(hDC); check(count, 1); } return callPPI(__functionAddress, hDC, count) != 0; }
/** Array version of: {@link #wglGetPixelFormatAttribfvARB GetPixelFormatAttribfvARB} */ @NativeType("BOOL") public static boolean wglGetPixelFormatAttribfvARB(@NativeType("HDC") long hdc, int pixelFormat, int layerPlane, @NativeType("int const *") int[] attributes, @NativeType("FLOAT *") float[] values) { long __functionAddress = GL.getCapabilitiesWGL().wglGetPixelFormatAttribfvARB; if (CHECKS) { check(__functionAddress); check(hdc); check(values, attributes.length); } return callPPPI(__functionAddress, hdc, pixelFormat, layerPlane, attributes.length, attributes, values) != 0; }
/** Array version of: {@link #wglQuerySwapGroupNV QuerySwapGroupNV} */ @NativeType("BOOL") public static boolean wglQuerySwapGroupNV(@NativeType("HDC") long hDC, @NativeType("GLuint *") int[] group, @NativeType("GLuint *") int[] barrier) { long __functionAddress = GL.getCapabilitiesWGL().wglQuerySwapGroupNV; if (CHECKS) { check(__functionAddress); check(hDC); check(group, 1); check(barrier, 1); } return callPPPI(__functionAddress, hDC, group, barrier) != 0; }