jogamp.opengl.windows.wgl.WGLExtImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jogl-all Show documentation
Show all versions of jogl-all Show documentation
Java™ Binding for the OpenGL® API
/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/opengl/GLEmitter.java on Fri Nov 01 19:10:54 CET 2013 ----! */
package jogamp.opengl.windows.wgl;
import java.util.*;
import javax.media.opengl.*;
import javax.media.opengl.fixedfunc.*;
import jogamp.opengl.*;
import com.jogamp.gluegen.runtime.*;
import com.jogamp.common.os.*;
import com.jogamp.common.nio.*;
import java.nio.*;
public class WGLExtImpl implements WGLExt{
/** Entry point to C language function: LPVOID wglAllocateMemoryNV(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
Part of WGL_NV_vertex_array_range
*/
public ByteBuffer wglAllocateMemoryNV(int size, float readfreq, float writefreq, float priority) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglAllocateMemoryNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglAllocateMemoryNV\" not available");
}
final ByteBuffer _res;
_res = dispatch_wglAllocateMemoryNV0(size, readfreq, writefreq, priority, __addr_);
if (_res == null) return null;
Buffers.nativeOrder(_res);
return _res;
}
/** Entry point to C language function: LPVOID wglAllocateMemoryNV(GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority);
Part of WGL_NV_vertex_array_range
*/
private native ByteBuffer dispatch_wglAllocateMemoryNV0(int size, float readfreq, float writefreq, float priority, long procAddress);
/** Entry point to C language function: BOOL wglBeginFrameTrackingI3D(void);
Part of WGL_I3D_swap_frame_usage
*/
public boolean wglBeginFrameTrackingI3D() {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglBeginFrameTrackingI3D;
if (__addr_ == 0) {
throw new GLException("Method \"wglBeginFrameTrackingI3D\" not available");
}
return dispatch_wglBeginFrameTrackingI3D0(__addr_);
}
/** Entry point to C language function: BOOL wglBeginFrameTrackingI3D(void);
Part of WGL_I3D_swap_frame_usage
*/
private native boolean dispatch_wglBeginFrameTrackingI3D0(long procAddress);
/** Entry point to C language function: GLboolean wglBindDisplayColorTableEXT(GLushort id);
Part of WGL_EXT_display_color_table
*/
public boolean wglBindDisplayColorTableEXT(short id) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglBindDisplayColorTableEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglBindDisplayColorTableEXT\" not available");
}
return dispatch_wglBindDisplayColorTableEXT0(id, __addr_);
}
/** Entry point to C language function: GLboolean wglBindDisplayColorTableEXT(GLushort id);
Part of WGL_EXT_display_color_table
*/
private native boolean dispatch_wglBindDisplayColorTableEXT0(short id, long procAddress);
/** Entry point to C language function: BOOL wglBindSwapBarrierNV(GLuint group, GLuint barrier);
Part of WGL_NV_swap_group
*/
public boolean wglBindSwapBarrierNV(int group, int barrier) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglBindSwapBarrierNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglBindSwapBarrierNV\" not available");
}
return dispatch_wglBindSwapBarrierNV0(group, barrier, __addr_);
}
/** Entry point to C language function: BOOL wglBindSwapBarrierNV(GLuint group, GLuint barrier);
Part of WGL_NV_swap_group
*/
private native boolean dispatch_wglBindSwapBarrierNV0(int group, int barrier, long procAddress);
/** Entry point to C language function: BOOL wglBindTexImageARB(HANDLE hPbuffer, int iBuffer);
Part of WGL_ARB_render_texture
*/
public boolean wglBindTexImageARB(long hPbuffer, int iBuffer) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglBindTexImageARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglBindTexImageARB\" not available");
}
return dispatch_wglBindTexImageARB0(hPbuffer, iBuffer, __addr_);
}
/** Entry point to C language function: BOOL wglBindTexImageARB(HANDLE hPbuffer, int iBuffer);
Part of WGL_ARB_render_texture
*/
private native boolean dispatch_wglBindTexImageARB0(long hPbuffer, int iBuffer, long procAddress);
/** Entry point to C language function: void wglBlitContextFramebufferAMD(HANDLE dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
Part of WGL_AMD_gpu_association
*/
public void wglBlitContextFramebufferAMD(long dstCtx, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglBlitContextFramebufferAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglBlitContextFramebufferAMD\" not available");
}
dispatch_wglBlitContextFramebufferAMD0(dstCtx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter, __addr_);
}
/** Entry point to C language function: void wglBlitContextFramebufferAMD(HANDLE dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
Part of WGL_AMD_gpu_association
*/
private native void dispatch_wglBlitContextFramebufferAMD0(long dstCtx, int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter, long procAddress);
/** Entry point to C language function: BOOL wglChoosePixelFormatARB(HANDLE hdc, const int * piAttribIList, const FLOAT * pfAttribFList, UINT nMaxFormats, int * piFormats, UINT * nNumFormats);
Part of WGL_ARB_pixel_format
@param piAttribIList a direct only {@link java.nio.IntBuffer}
@param pfAttribFList a direct only {@link java.nio.FloatBuffer}
@param piFormats a direct only {@link java.nio.IntBuffer}
@param nNumFormats a direct only {@link java.nio.IntBuffer} */
public boolean wglChoosePixelFormatARB(long hdc, IntBuffer piAttribIList, FloatBuffer pfAttribFList, int nMaxFormats, IntBuffer piFormats, IntBuffer nNumFormats) {
if (!Buffers.isDirect(piAttribIList))
throw new GLException("Argument \"piAttribIList\" is not a direct buffer");
if (!Buffers.isDirect(pfAttribFList))
throw new GLException("Argument \"pfAttribFList\" is not a direct buffer");
if (!Buffers.isDirect(piFormats))
throw new GLException("Argument \"piFormats\" is not a direct buffer");
if (!Buffers.isDirect(nNumFormats))
throw new GLException("Argument \"nNumFormats\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglChoosePixelFormatARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglChoosePixelFormatARB\" not available");
}
return dispatch_wglChoosePixelFormatARB0(hdc, piAttribIList, Buffers.getDirectBufferByteOffset(piAttribIList), pfAttribFList, Buffers.getDirectBufferByteOffset(pfAttribFList), nMaxFormats, piFormats, Buffers.getDirectBufferByteOffset(piFormats), nNumFormats, Buffers.getDirectBufferByteOffset(nNumFormats), __addr_);
}
/** Entry point to C language function: BOOL wglChoosePixelFormatARB(HANDLE hdc, const int * piAttribIList, const FLOAT * pfAttribFList, UINT nMaxFormats, int * piFormats, UINT * nNumFormats);
Part of WGL_ARB_pixel_format
@param piAttribIList a direct only {@link java.nio.IntBuffer}
@param pfAttribFList a direct only {@link java.nio.FloatBuffer}
@param piFormats a direct only {@link java.nio.IntBuffer}
@param nNumFormats a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglChoosePixelFormatARB0(long hdc, Object piAttribIList, int piAttribIList_byte_offset, Object pfAttribFList, int pfAttribFList_byte_offset, int nMaxFormats, Object piFormats, int piFormats_byte_offset, Object nNumFormats, int nNumFormats_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglChoosePixelFormatEXT(HANDLE hdc, const int * piAttribIList, const FLOAT * pfAttribFList, UINT nMaxFormats, int * piFormats, UINT * nNumFormats);
Part of WGL_EXT_pixel_format
@param piAttribIList a direct only {@link java.nio.IntBuffer}
@param pfAttribFList a direct only {@link java.nio.FloatBuffer}
@param piFormats a direct only {@link java.nio.IntBuffer}
@param nNumFormats a direct only {@link java.nio.IntBuffer} */
public boolean wglChoosePixelFormatEXT(long hdc, IntBuffer piAttribIList, FloatBuffer pfAttribFList, int nMaxFormats, IntBuffer piFormats, IntBuffer nNumFormats) {
if (!Buffers.isDirect(piAttribIList))
throw new GLException("Argument \"piAttribIList\" is not a direct buffer");
if (!Buffers.isDirect(pfAttribFList))
throw new GLException("Argument \"pfAttribFList\" is not a direct buffer");
if (!Buffers.isDirect(piFormats))
throw new GLException("Argument \"piFormats\" is not a direct buffer");
if (!Buffers.isDirect(nNumFormats))
throw new GLException("Argument \"nNumFormats\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglChoosePixelFormatEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglChoosePixelFormatEXT\" not available");
}
return dispatch_wglChoosePixelFormatEXT0(hdc, piAttribIList, Buffers.getDirectBufferByteOffset(piAttribIList), pfAttribFList, Buffers.getDirectBufferByteOffset(pfAttribFList), nMaxFormats, piFormats, Buffers.getDirectBufferByteOffset(piFormats), nNumFormats, Buffers.getDirectBufferByteOffset(nNumFormats), __addr_);
}
/** Entry point to C language function: BOOL wglChoosePixelFormatEXT(HANDLE hdc, const int * piAttribIList, const FLOAT * pfAttribFList, UINT nMaxFormats, int * piFormats, UINT * nNumFormats);
Part of WGL_EXT_pixel_format
@param piAttribIList a direct only {@link java.nio.IntBuffer}
@param pfAttribFList a direct only {@link java.nio.FloatBuffer}
@param piFormats a direct only {@link java.nio.IntBuffer}
@param nNumFormats a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglChoosePixelFormatEXT0(long hdc, Object piAttribIList, int piAttribIList_byte_offset, Object pfAttribFList, int pfAttribFList_byte_offset, int nMaxFormats, Object piFormats, int piFormats_byte_offset, Object nNumFormats, int nNumFormats_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglCopyImageSubDataNV(HANDLE hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HANDLE hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
Part of WGL_NV_copy_image
*/
public boolean wglCopyImageSubDataNV(long hSrcRC, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, long hDstRC, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglCopyImageSubDataNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglCopyImageSubDataNV\" not available");
}
return dispatch_wglCopyImageSubDataNV0(hSrcRC, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, hDstRC, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth, __addr_);
}
/** Entry point to C language function: BOOL wglCopyImageSubDataNV(HANDLE hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HANDLE hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
Part of WGL_NV_copy_image
*/
private native boolean dispatch_wglCopyImageSubDataNV0(long hSrcRC, int srcName, int srcTarget, int srcLevel, int srcX, int srcY, int srcZ, long hDstRC, int dstName, int dstTarget, int dstLevel, int dstX, int dstY, int dstZ, int width, int height, int depth, long procAddress);
/** Entry point to C language function: HANDLE wglCreateAssociatedContextAMD(UINT id);
Part of WGL_AMD_gpu_association
*/
public long wglCreateAssociatedContextAMD(int id) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglCreateAssociatedContextAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglCreateAssociatedContextAMD\" not available");
}
return dispatch_wglCreateAssociatedContextAMD0(id, __addr_);
}
/** Entry point to C language function: HANDLE wglCreateAssociatedContextAMD(UINT id);
Part of WGL_AMD_gpu_association
*/
private native long dispatch_wglCreateAssociatedContextAMD0(int id, long procAddress);
/** Entry point to C language function: HANDLE wglCreateAssociatedContextAttribsAMD(UINT id, HANDLE hShareContext, const int * attribList);
Part of WGL_AMD_gpu_association
@param attribList a direct only {@link java.nio.IntBuffer} */
public long wglCreateAssociatedContextAttribsAMD(int id, long hShareContext, IntBuffer attribList) {
if (!Buffers.isDirect(attribList))
throw new GLException("Argument \"attribList\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglCreateAssociatedContextAttribsAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglCreateAssociatedContextAttribsAMD\" not available");
}
return dispatch_wglCreateAssociatedContextAttribsAMD0(id, hShareContext, attribList, Buffers.getDirectBufferByteOffset(attribList), __addr_);
}
/** Entry point to C language function: HANDLE wglCreateAssociatedContextAttribsAMD(UINT id, HANDLE hShareContext, const int * attribList);
Part of WGL_AMD_gpu_association
@param attribList a direct only {@link java.nio.IntBuffer} */
private native long dispatch_wglCreateAssociatedContextAttribsAMD0(int id, long hShareContext, Object attribList, int attribList_byte_offset, long procAddress);
/** Entry point to C language function: HANDLE wglCreateBufferRegionARB(HANDLE hDC, int iLayerPlane, UINT uType);
Part of WGL_ARB_buffer_region
*/
public long wglCreateBufferRegionARB(long hDC, int iLayerPlane, int uType) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglCreateBufferRegionARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglCreateBufferRegionARB\" not available");
}
return dispatch_wglCreateBufferRegionARB0(hDC, iLayerPlane, uType, __addr_);
}
/** Entry point to C language function: HANDLE wglCreateBufferRegionARB(HANDLE hDC, int iLayerPlane, UINT uType);
Part of WGL_ARB_buffer_region
*/
private native long dispatch_wglCreateBufferRegionARB0(long hDC, int iLayerPlane, int uType, long procAddress);
/** Entry point to C language function: HANDLE wglCreateContextAttribsARB(HANDLE hDC, HANDLE hShareContext, const int * attribList);
Part of WGL_ARB_create_context
@param attribList a direct only {@link java.nio.IntBuffer} */
public long wglCreateContextAttribsARB(long hDC, long hShareContext, IntBuffer attribList) {
if (!Buffers.isDirect(attribList))
throw new GLException("Argument \"attribList\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglCreateContextAttribsARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglCreateContextAttribsARB\" not available");
}
return dispatch_wglCreateContextAttribsARB0(hDC, hShareContext, attribList, Buffers.getDirectBufferByteOffset(attribList), __addr_);
}
/** Entry point to C language function: HANDLE wglCreateContextAttribsARB(HANDLE hDC, HANDLE hShareContext, const int * attribList);
Part of WGL_ARB_create_context
@param attribList a direct only {@link java.nio.IntBuffer} */
private native long dispatch_wglCreateContextAttribsARB0(long hDC, long hShareContext, Object attribList, int attribList_byte_offset, long procAddress);
/** Entry point to C language function: GLboolean wglCreateDisplayColorTableEXT(GLushort id);
Part of WGL_EXT_display_color_table
*/
public boolean wglCreateDisplayColorTableEXT(short id) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglCreateDisplayColorTableEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglCreateDisplayColorTableEXT\" not available");
}
return dispatch_wglCreateDisplayColorTableEXT0(id, __addr_);
}
/** Entry point to C language function: GLboolean wglCreateDisplayColorTableEXT(GLushort id);
Part of WGL_EXT_display_color_table
*/
private native boolean dispatch_wglCreateDisplayColorTableEXT0(short id, long procAddress);
/** Entry point to C language function: HANDLE wglCreatePbufferARB(HANDLE hDC, int iPixelFormat, int iWidth, int iHeight, const int * piAttribList);
Part of WGL_ARB_pbuffer
@param piAttribList a direct only {@link java.nio.IntBuffer} */
public long wglCreatePbufferARB(long hDC, int iPixelFormat, int iWidth, int iHeight, IntBuffer piAttribList) {
if (!Buffers.isDirect(piAttribList))
throw new GLException("Argument \"piAttribList\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglCreatePbufferARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglCreatePbufferARB\" not available");
}
return dispatch_wglCreatePbufferARB0(hDC, iPixelFormat, iWidth, iHeight, piAttribList, Buffers.getDirectBufferByteOffset(piAttribList), __addr_);
}
/** Entry point to C language function: HANDLE wglCreatePbufferARB(HANDLE hDC, int iPixelFormat, int iWidth, int iHeight, const int * piAttribList);
Part of WGL_ARB_pbuffer
@param piAttribList a direct only {@link java.nio.IntBuffer} */
private native long dispatch_wglCreatePbufferARB0(long hDC, int iPixelFormat, int iWidth, int iHeight, Object piAttribList, int piAttribList_byte_offset, long procAddress);
/** Entry point to C language function: HANDLE wglCreatePbufferEXT(HANDLE hDC, int iPixelFormat, int iWidth, int iHeight, const int * piAttribList);
Part of WGL_EXT_pbuffer
@param piAttribList a direct only {@link java.nio.IntBuffer} */
public long wglCreatePbufferEXT(long hDC, int iPixelFormat, int iWidth, int iHeight, IntBuffer piAttribList) {
if (!Buffers.isDirect(piAttribList))
throw new GLException("Argument \"piAttribList\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglCreatePbufferEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglCreatePbufferEXT\" not available");
}
return dispatch_wglCreatePbufferEXT0(hDC, iPixelFormat, iWidth, iHeight, piAttribList, Buffers.getDirectBufferByteOffset(piAttribList), __addr_);
}
/** Entry point to C language function: HANDLE wglCreatePbufferEXT(HANDLE hDC, int iPixelFormat, int iWidth, int iHeight, const int * piAttribList);
Part of WGL_EXT_pbuffer
@param piAttribList a direct only {@link java.nio.IntBuffer} */
private native long dispatch_wglCreatePbufferEXT0(long hDC, int iPixelFormat, int iWidth, int iHeight, Object piAttribList, int piAttribList_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglDXCloseDeviceNV(HANDLE hDevice);
Part of WGL_NV_DX_interop
*/
public boolean wglDXCloseDeviceNV(long hDevice) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDXCloseDeviceNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglDXCloseDeviceNV\" not available");
}
return dispatch_wglDXCloseDeviceNV0(hDevice, __addr_);
}
/** Entry point to C language function: BOOL wglDXCloseDeviceNV(HANDLE hDevice);
Part of WGL_NV_DX_interop
*/
private native boolean dispatch_wglDXCloseDeviceNV0(long hDevice, long procAddress);
/** Entry point to C language function: BOOL wglDXLockObjectsNV(HANDLE hDevice, GLint count, HANDLE * hObjects);
Part of WGL_NV_DX_interop
@param hObjects a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public boolean wglDXLockObjectsNV(long hDevice, int count, PointerBuffer hObjects) {
if (!Buffers.isDirect(hObjects))
throw new GLException("Argument \"hObjects\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDXLockObjectsNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglDXLockObjectsNV\" not available");
}
return dispatch_wglDXLockObjectsNV0(hDevice, count, hObjects != null ? hObjects.getBuffer() : null, Buffers.getDirectBufferByteOffset(hObjects), __addr_);
}
/** Entry point to C language function: BOOL wglDXLockObjectsNV(HANDLE hDevice, GLint count, HANDLE * hObjects);
Part of WGL_NV_DX_interop
@param hObjects a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private native boolean dispatch_wglDXLockObjectsNV0(long hDevice, int count, Object hObjects, int hObjects_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglDXObjectAccessNV(HANDLE hObject, GLenum access);
Part of WGL_NV_DX_interop
*/
public boolean wglDXObjectAccessNV(long hObject, int access) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDXObjectAccessNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglDXObjectAccessNV\" not available");
}
return dispatch_wglDXObjectAccessNV0(hObject, access, __addr_);
}
/** Entry point to C language function: BOOL wglDXObjectAccessNV(HANDLE hObject, GLenum access);
Part of WGL_NV_DX_interop
*/
private native boolean dispatch_wglDXObjectAccessNV0(long hObject, int access, long procAddress);
/** Entry point to C language function: HANDLE wglDXOpenDeviceNV(LPVOID dxDevice);
Part of WGL_NV_DX_interop
@param dxDevice a direct only {@link java.nio.Buffer} */
public long wglDXOpenDeviceNV(Buffer dxDevice) {
if (!Buffers.isDirect(dxDevice))
throw new GLException("Argument \"dxDevice\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDXOpenDeviceNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglDXOpenDeviceNV\" not available");
}
return dispatch_wglDXOpenDeviceNV0(dxDevice, Buffers.getDirectBufferByteOffset(dxDevice), __addr_);
}
/** Entry point to C language function: HANDLE wglDXOpenDeviceNV(LPVOID dxDevice);
Part of WGL_NV_DX_interop
@param dxDevice a direct only {@link java.nio.Buffer} */
private native long dispatch_wglDXOpenDeviceNV0(Object dxDevice, int dxDevice_byte_offset, long procAddress);
/** Entry point to C language function: HANDLE wglDXRegisterObjectNV(HANDLE hDevice, LPVOID dxObject, GLuint name, GLenum type, GLenum access);
Part of WGL_NV_DX_interop
@param dxObject a direct only {@link java.nio.Buffer} */
public long wglDXRegisterObjectNV(long hDevice, Buffer dxObject, int name, int type, int access) {
if (!Buffers.isDirect(dxObject))
throw new GLException("Argument \"dxObject\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDXRegisterObjectNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglDXRegisterObjectNV\" not available");
}
return dispatch_wglDXRegisterObjectNV0(hDevice, dxObject, Buffers.getDirectBufferByteOffset(dxObject), name, type, access, __addr_);
}
/** Entry point to C language function: HANDLE wglDXRegisterObjectNV(HANDLE hDevice, LPVOID dxObject, GLuint name, GLenum type, GLenum access);
Part of WGL_NV_DX_interop
@param dxObject a direct only {@link java.nio.Buffer} */
private native long dispatch_wglDXRegisterObjectNV0(long hDevice, Object dxObject, int dxObject_byte_offset, int name, int type, int access, long procAddress);
/** Entry point to C language function: BOOL wglDXSetResourceShareHandleNV(LPVOID dxObject, HANDLE shareHandle);
Part of WGL_NV_DX_interop
@param dxObject a direct only {@link java.nio.Buffer} */
public boolean wglDXSetResourceShareHandleNV(Buffer dxObject, long shareHandle) {
if (!Buffers.isDirect(dxObject))
throw new GLException("Argument \"dxObject\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDXSetResourceShareHandleNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglDXSetResourceShareHandleNV\" not available");
}
return dispatch_wglDXSetResourceShareHandleNV0(dxObject, Buffers.getDirectBufferByteOffset(dxObject), shareHandle, __addr_);
}
/** Entry point to C language function: BOOL wglDXSetResourceShareHandleNV(LPVOID dxObject, HANDLE shareHandle);
Part of WGL_NV_DX_interop
@param dxObject a direct only {@link java.nio.Buffer} */
private native boolean dispatch_wglDXSetResourceShareHandleNV0(Object dxObject, int dxObject_byte_offset, long shareHandle, long procAddress);
/** Entry point to C language function: BOOL wglDXUnlockObjectsNV(HANDLE hDevice, GLint count, HANDLE * hObjects);
Part of WGL_NV_DX_interop
@param hObjects a direct only {@link com.jogamp.common.nio.PointerBuffer} */
public boolean wglDXUnlockObjectsNV(long hDevice, int count, PointerBuffer hObjects) {
if (!Buffers.isDirect(hObjects))
throw new GLException("Argument \"hObjects\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDXUnlockObjectsNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglDXUnlockObjectsNV\" not available");
}
return dispatch_wglDXUnlockObjectsNV0(hDevice, count, hObjects != null ? hObjects.getBuffer() : null, Buffers.getDirectBufferByteOffset(hObjects), __addr_);
}
/** Entry point to C language function: BOOL wglDXUnlockObjectsNV(HANDLE hDevice, GLint count, HANDLE * hObjects);
Part of WGL_NV_DX_interop
@param hObjects a direct only {@link com.jogamp.common.nio.PointerBuffer} */
private native boolean dispatch_wglDXUnlockObjectsNV0(long hDevice, int count, Object hObjects, int hObjects_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglDXUnregisterObjectNV(HANDLE hDevice, HANDLE hObject);
Part of WGL_NV_DX_interop
*/
public boolean wglDXUnregisterObjectNV(long hDevice, long hObject) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDXUnregisterObjectNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglDXUnregisterObjectNV\" not available");
}
return dispatch_wglDXUnregisterObjectNV0(hDevice, hObject, __addr_);
}
/** Entry point to C language function: BOOL wglDXUnregisterObjectNV(HANDLE hDevice, HANDLE hObject);
Part of WGL_NV_DX_interop
*/
private native boolean dispatch_wglDXUnregisterObjectNV0(long hDevice, long hObject, long procAddress);
/** Entry point to C language function: BOOL wglDeleteAssociatedContextAMD(HANDLE hglrc);
Part of WGL_AMD_gpu_association
*/
public boolean wglDeleteAssociatedContextAMD(long hglrc) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDeleteAssociatedContextAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglDeleteAssociatedContextAMD\" not available");
}
return dispatch_wglDeleteAssociatedContextAMD0(hglrc, __addr_);
}
/** Entry point to C language function: BOOL wglDeleteAssociatedContextAMD(HANDLE hglrc);
Part of WGL_AMD_gpu_association
*/
private native boolean dispatch_wglDeleteAssociatedContextAMD0(long hglrc, long procAddress);
/** Entry point to C language function: void wglDeleteBufferRegionARB(HANDLE hRegion);
Part of WGL_ARB_buffer_region
*/
public void wglDeleteBufferRegionARB(long hRegion) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDeleteBufferRegionARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglDeleteBufferRegionARB\" not available");
}
dispatch_wglDeleteBufferRegionARB0(hRegion, __addr_);
}
/** Entry point to C language function: void wglDeleteBufferRegionARB(HANDLE hRegion);
Part of WGL_ARB_buffer_region
*/
private native void dispatch_wglDeleteBufferRegionARB0(long hRegion, long procAddress);
/** Entry point to C language function: void wglDestroyDisplayColorTableEXT(GLushort id);
Part of WGL_EXT_display_color_table
*/
public void wglDestroyDisplayColorTableEXT(short id) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDestroyDisplayColorTableEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglDestroyDisplayColorTableEXT\" not available");
}
dispatch_wglDestroyDisplayColorTableEXT0(id, __addr_);
}
/** Entry point to C language function: void wglDestroyDisplayColorTableEXT(GLushort id);
Part of WGL_EXT_display_color_table
*/
private native void dispatch_wglDestroyDisplayColorTableEXT0(short id, long procAddress);
/** Entry point to C language function: BOOL wglDestroyPbufferARB(HANDLE hPbuffer);
Part of WGL_ARB_pbuffer
*/
public boolean wglDestroyPbufferARB(long hPbuffer) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDestroyPbufferARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglDestroyPbufferARB\" not available");
}
return dispatch_wglDestroyPbufferARB0(hPbuffer, __addr_);
}
/** Entry point to C language function: BOOL wglDestroyPbufferARB(HANDLE hPbuffer);
Part of WGL_ARB_pbuffer
*/
private native boolean dispatch_wglDestroyPbufferARB0(long hPbuffer, long procAddress);
/** Entry point to C language function: BOOL wglDestroyPbufferEXT(HANDLE hPbuffer);
Part of WGL_EXT_pbuffer
*/
public boolean wglDestroyPbufferEXT(long hPbuffer) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDestroyPbufferEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglDestroyPbufferEXT\" not available");
}
return dispatch_wglDestroyPbufferEXT0(hPbuffer, __addr_);
}
/** Entry point to C language function: BOOL wglDestroyPbufferEXT(HANDLE hPbuffer);
Part of WGL_EXT_pbuffer
*/
private native boolean dispatch_wglDestroyPbufferEXT0(long hPbuffer, long procAddress);
/** Entry point to C language function: BOOL wglDisableFrameLockI3D(void);
Part of WGL_I3D_swap_frame_lock
*/
public boolean wglDisableFrameLockI3D() {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglDisableFrameLockI3D;
if (__addr_ == 0) {
throw new GLException("Method \"wglDisableFrameLockI3D\" not available");
}
return dispatch_wglDisableFrameLockI3D0(__addr_);
}
/** Entry point to C language function: BOOL wglDisableFrameLockI3D(void);
Part of WGL_I3D_swap_frame_lock
*/
private native boolean dispatch_wglDisableFrameLockI3D0(long procAddress);
/** Entry point to C language function: BOOL wglEnableFrameLockI3D(void);
Part of WGL_I3D_swap_frame_lock
*/
public boolean wglEnableFrameLockI3D() {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglEnableFrameLockI3D;
if (__addr_ == 0) {
throw new GLException("Method \"wglEnableFrameLockI3D\" not available");
}
return dispatch_wglEnableFrameLockI3D0(__addr_);
}
/** Entry point to C language function: BOOL wglEnableFrameLockI3D(void);
Part of WGL_I3D_swap_frame_lock
*/
private native boolean dispatch_wglEnableFrameLockI3D0(long procAddress);
/** Entry point to C language function: BOOL wglEndFrameTrackingI3D(void);
Part of WGL_I3D_swap_frame_usage
*/
public boolean wglEndFrameTrackingI3D() {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglEndFrameTrackingI3D;
if (__addr_ == 0) {
throw new GLException("Method \"wglEndFrameTrackingI3D\" not available");
}
return dispatch_wglEndFrameTrackingI3D0(__addr_);
}
/** Entry point to C language function: BOOL wglEndFrameTrackingI3D(void);
Part of WGL_I3D_swap_frame_usage
*/
private native boolean dispatch_wglEndFrameTrackingI3D0(long procAddress);
/** Entry point to C language function: void wglFreeMemoryNV(LPVOID pointer);
Part of WGL_NV_vertex_array_range
@param pointer a direct only {@link java.nio.Buffer} */
public void wglFreeMemoryNV(Buffer pointer) {
if (!Buffers.isDirect(pointer))
throw new GLException("Argument \"pointer\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglFreeMemoryNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglFreeMemoryNV\" not available");
}
dispatch_wglFreeMemoryNV0(pointer, Buffers.getDirectBufferByteOffset(pointer), __addr_);
}
/** Entry point to C language function: void wglFreeMemoryNV(LPVOID pointer);
Part of WGL_NV_vertex_array_range
@param pointer a direct only {@link java.nio.Buffer} */
private native void dispatch_wglFreeMemoryNV0(Object pointer, int pointer_byte_offset, long procAddress);
/** Entry point to C language function: UINT wglGetContextGPUIDAMD(HANDLE hglrc);
Part of WGL_AMD_gpu_association
*/
public int wglGetContextGPUIDAMD(long hglrc) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetContextGPUIDAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetContextGPUIDAMD\" not available");
}
return dispatch_wglGetContextGPUIDAMD0(hglrc, __addr_);
}
/** Entry point to C language function: UINT wglGetContextGPUIDAMD(HANDLE hglrc);
Part of WGL_AMD_gpu_association
*/
private native int dispatch_wglGetContextGPUIDAMD0(long hglrc, long procAddress);
/** Entry point to C language function: HANDLE wglGetCurrentAssociatedContextAMD(void);
Part of WGL_AMD_gpu_association
*/
public long wglGetCurrentAssociatedContextAMD() {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetCurrentAssociatedContextAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetCurrentAssociatedContextAMD\" not available");
}
return dispatch_wglGetCurrentAssociatedContextAMD0(__addr_);
}
/** Entry point to C language function: HANDLE wglGetCurrentAssociatedContextAMD(void);
Part of WGL_AMD_gpu_association
*/
private native long dispatch_wglGetCurrentAssociatedContextAMD0(long procAddress);
/** Entry point to C language function: HANDLE wglGetCurrentReadDC(void);
Part of WGL_ARB_make_current_read
*/
public long wglGetCurrentReadDC() {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetCurrentReadDC;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetCurrentReadDC\" not available");
}
return dispatch_wglGetCurrentReadDC0(__addr_);
}
/** Entry point to C language function: HANDLE wglGetCurrentReadDC(void);
Part of WGL_ARB_make_current_read
*/
private native long dispatch_wglGetCurrentReadDC0(long procAddress);
/** Entry point to C language function: LPCSTR wglGetExtensionsStringARB(HANDLE hdc);
Part of WGL_ARB_extensions_string
*/
public String wglGetExtensionsStringARB(long hdc) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetExtensionsStringARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetExtensionsStringARB\" not available");
}
return dispatch_wglGetExtensionsStringARB0(hdc, __addr_);
}
/** Entry point to C language function: LPCSTR wglGetExtensionsStringARB(HANDLE hdc);
Part of WGL_ARB_extensions_string
*/
private native String dispatch_wglGetExtensionsStringARB0(long hdc, long procAddress);
/** Entry point to C language function: LPCSTR wglGetExtensionsStringEXT(void);
Part of WGL_EXT_extensions_string
*/
public String wglGetExtensionsStringEXT() {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetExtensionsStringEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetExtensionsStringEXT\" not available");
}
return dispatch_wglGetExtensionsStringEXT0(__addr_);
}
/** Entry point to C language function: LPCSTR wglGetExtensionsStringEXT(void);
Part of WGL_EXT_extensions_string
*/
private native String dispatch_wglGetExtensionsStringEXT0(long procAddress);
/** Entry point to C language function: BOOL wglGetFrameUsageI3D(float * pUsage);
Part of WGL_I3D_swap_frame_usage
@param pUsage a direct only {@link java.nio.FloatBuffer} */
public boolean wglGetFrameUsageI3D(FloatBuffer pUsage) {
if (!Buffers.isDirect(pUsage))
throw new GLException("Argument \"pUsage\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetFrameUsageI3D;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetFrameUsageI3D\" not available");
}
return dispatch_wglGetFrameUsageI3D0(pUsage, Buffers.getDirectBufferByteOffset(pUsage), __addr_);
}
/** Entry point to C language function: BOOL wglGetFrameUsageI3D(float * pUsage);
Part of WGL_I3D_swap_frame_usage
@param pUsage a direct only {@link java.nio.FloatBuffer} */
private native boolean dispatch_wglGetFrameUsageI3D0(Object pUsage, int pUsage_byte_offset, long procAddress);
/** Entry point to C language function: UINT wglGetGPUIDsAMD(UINT maxCount, UINT * ids);
Part of WGL_AMD_gpu_association
@param ids a direct only {@link java.nio.IntBuffer} */
public int wglGetGPUIDsAMD(int maxCount, IntBuffer ids) {
if (!Buffers.isDirect(ids))
throw new GLException("Argument \"ids\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetGPUIDsAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetGPUIDsAMD\" not available");
}
return dispatch_wglGetGPUIDsAMD0(maxCount, ids, Buffers.getDirectBufferByteOffset(ids), __addr_);
}
/** Entry point to C language function: UINT wglGetGPUIDsAMD(UINT maxCount, UINT * ids);
Part of WGL_AMD_gpu_association
@param ids a direct only {@link java.nio.IntBuffer} */
private native int dispatch_wglGetGPUIDsAMD0(int maxCount, Object ids, int ids_byte_offset, long procAddress);
/** Entry point to C language function: INT wglGetGPUInfoAMD(UINT id, int property, GLenum dataType, UINT size, LPVOID data);
Part of WGL_AMD_gpu_association
@param data a direct only {@link java.nio.Buffer} */
public int wglGetGPUInfoAMD(int id, int property, int dataType, int size, Buffer data) {
if (!Buffers.isDirect(data))
throw new GLException("Argument \"data\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetGPUInfoAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetGPUInfoAMD\" not available");
}
return dispatch_wglGetGPUInfoAMD0(id, property, dataType, size, data, Buffers.getDirectBufferByteOffset(data), __addr_);
}
/** Entry point to C language function: INT wglGetGPUInfoAMD(UINT id, int property, GLenum dataType, UINT size, LPVOID data);
Part of WGL_AMD_gpu_association
@param data a direct only {@link java.nio.Buffer} */
private native int dispatch_wglGetGPUInfoAMD0(int id, int property, int dataType, int size, Object data, int data_byte_offset, long procAddress);
/** Entry point to C language function: HANDLE wglGetPbufferDCARB(HANDLE hPbuffer);
Part of WGL_ARB_pbuffer
*/
public long wglGetPbufferDCARB(long hPbuffer) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetPbufferDCARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetPbufferDCARB\" not available");
}
return dispatch_wglGetPbufferDCARB0(hPbuffer, __addr_);
}
/** Entry point to C language function: HANDLE wglGetPbufferDCARB(HANDLE hPbuffer);
Part of WGL_ARB_pbuffer
*/
private native long dispatch_wglGetPbufferDCARB0(long hPbuffer, long procAddress);
/** Entry point to C language function: HANDLE wglGetPbufferDCEXT(HANDLE hPbuffer);
Part of WGL_EXT_pbuffer
*/
public long wglGetPbufferDCEXT(long hPbuffer) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetPbufferDCEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetPbufferDCEXT\" not available");
}
return dispatch_wglGetPbufferDCEXT0(hPbuffer, __addr_);
}
/** Entry point to C language function: HANDLE wglGetPbufferDCEXT(HANDLE hPbuffer);
Part of WGL_EXT_pbuffer
*/
private native long dispatch_wglGetPbufferDCEXT0(long hPbuffer, long procAddress);
/** Entry point to C language function: BOOL wglGetPixelFormatAttribfvARB(HANDLE hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int * piAttributes, FLOAT * pfValues);
Part of WGL_ARB_pixel_format
@param piAttributes a direct only {@link java.nio.IntBuffer}
@param pfValues a direct only {@link java.nio.FloatBuffer} */
public boolean wglGetPixelFormatAttribfvARB(long hdc, int iPixelFormat, int iLayerPlane, int nAttributes, IntBuffer piAttributes, FloatBuffer pfValues) {
if (!Buffers.isDirect(piAttributes))
throw new GLException("Argument \"piAttributes\" is not a direct buffer");
if (!Buffers.isDirect(pfValues))
throw new GLException("Argument \"pfValues\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetPixelFormatAttribfvARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetPixelFormatAttribfvARB\" not available");
}
return dispatch_wglGetPixelFormatAttribfvARB0(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, Buffers.getDirectBufferByteOffset(piAttributes), pfValues, Buffers.getDirectBufferByteOffset(pfValues), __addr_);
}
/** Entry point to C language function: BOOL wglGetPixelFormatAttribfvARB(HANDLE hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int * piAttributes, FLOAT * pfValues);
Part of WGL_ARB_pixel_format
@param piAttributes a direct only {@link java.nio.IntBuffer}
@param pfValues a direct only {@link java.nio.FloatBuffer} */
private native boolean dispatch_wglGetPixelFormatAttribfvARB0(long hdc, int iPixelFormat, int iLayerPlane, int nAttributes, Object piAttributes, int piAttributes_byte_offset, Object pfValues, int pfValues_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglGetPixelFormatAttribfvEXT(HANDLE hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int * piAttributes, FLOAT * pfValues);
Part of WGL_EXT_pixel_format
@param piAttributes a direct only {@link java.nio.IntBuffer}
@param pfValues a direct only {@link java.nio.FloatBuffer} */
public boolean wglGetPixelFormatAttribfvEXT(long hdc, int iPixelFormat, int iLayerPlane, int nAttributes, IntBuffer piAttributes, FloatBuffer pfValues) {
if (!Buffers.isDirect(piAttributes))
throw new GLException("Argument \"piAttributes\" is not a direct buffer");
if (!Buffers.isDirect(pfValues))
throw new GLException("Argument \"pfValues\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetPixelFormatAttribfvEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetPixelFormatAttribfvEXT\" not available");
}
return dispatch_wglGetPixelFormatAttribfvEXT0(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, Buffers.getDirectBufferByteOffset(piAttributes), pfValues, Buffers.getDirectBufferByteOffset(pfValues), __addr_);
}
/** Entry point to C language function: BOOL wglGetPixelFormatAttribfvEXT(HANDLE hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int * piAttributes, FLOAT * pfValues);
Part of WGL_EXT_pixel_format
@param piAttributes a direct only {@link java.nio.IntBuffer}
@param pfValues a direct only {@link java.nio.FloatBuffer} */
private native boolean dispatch_wglGetPixelFormatAttribfvEXT0(long hdc, int iPixelFormat, int iLayerPlane, int nAttributes, Object piAttributes, int piAttributes_byte_offset, Object pfValues, int pfValues_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglGetPixelFormatAttribivARB(HANDLE hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int * piAttributes, int * piValues);
Part of WGL_ARB_pixel_format
@param piAttributes a direct only {@link java.nio.IntBuffer}
@param piValues a direct only {@link java.nio.IntBuffer} */
public boolean wglGetPixelFormatAttribivARB(long hdc, int iPixelFormat, int iLayerPlane, int nAttributes, IntBuffer piAttributes, IntBuffer piValues) {
if (!Buffers.isDirect(piAttributes))
throw new GLException("Argument \"piAttributes\" is not a direct buffer");
if (!Buffers.isDirect(piValues))
throw new GLException("Argument \"piValues\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetPixelFormatAttribivARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetPixelFormatAttribivARB\" not available");
}
return dispatch_wglGetPixelFormatAttribivARB0(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, Buffers.getDirectBufferByteOffset(piAttributes), piValues, Buffers.getDirectBufferByteOffset(piValues), __addr_);
}
/** Entry point to C language function: BOOL wglGetPixelFormatAttribivARB(HANDLE hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int * piAttributes, int * piValues);
Part of WGL_ARB_pixel_format
@param piAttributes a direct only {@link java.nio.IntBuffer}
@param piValues a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglGetPixelFormatAttribivARB0(long hdc, int iPixelFormat, int iLayerPlane, int nAttributes, Object piAttributes, int piAttributes_byte_offset, Object piValues, int piValues_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglGetPixelFormatAttribivEXT(HANDLE hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int * piAttributes, int * piValues);
Part of WGL_EXT_pixel_format
@param piAttributes a direct only {@link java.nio.IntBuffer}
@param piValues a direct only {@link java.nio.IntBuffer} */
public boolean wglGetPixelFormatAttribivEXT(long hdc, int iPixelFormat, int iLayerPlane, int nAttributes, IntBuffer piAttributes, IntBuffer piValues) {
if (!Buffers.isDirect(piAttributes))
throw new GLException("Argument \"piAttributes\" is not a direct buffer");
if (!Buffers.isDirect(piValues))
throw new GLException("Argument \"piValues\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetPixelFormatAttribivEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetPixelFormatAttribivEXT\" not available");
}
return dispatch_wglGetPixelFormatAttribivEXT0(hdc, iPixelFormat, iLayerPlane, nAttributes, piAttributes, Buffers.getDirectBufferByteOffset(piAttributes), piValues, Buffers.getDirectBufferByteOffset(piValues), __addr_);
}
/** Entry point to C language function: BOOL wglGetPixelFormatAttribivEXT(HANDLE hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int * piAttributes, int * piValues);
Part of WGL_EXT_pixel_format
@param piAttributes a direct only {@link java.nio.IntBuffer}
@param piValues a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglGetPixelFormatAttribivEXT0(long hdc, int iPixelFormat, int iLayerPlane, int nAttributes, Object piAttributes, int piAttributes_byte_offset, Object piValues, int piValues_byte_offset, long procAddress);
/** Entry point to C language function: int wglGetSwapIntervalEXT(void);
Part of WGL_EXT_swap_control
*/
public int wglGetSwapIntervalEXT() {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglGetSwapIntervalEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglGetSwapIntervalEXT\" not available");
}
return dispatch_wglGetSwapIntervalEXT0(__addr_);
}
/** Entry point to C language function: int wglGetSwapIntervalEXT(void);
Part of WGL_EXT_swap_control
*/
private native int dispatch_wglGetSwapIntervalEXT0(long procAddress);
/** Entry point to C language function: BOOL wglIsEnabledFrameLockI3D(BOOL * pFlag);
Part of WGL_I3D_swap_frame_lock
@param pFlag a direct only {@link java.nio.ByteBuffer} */
public boolean wglIsEnabledFrameLockI3D(ByteBuffer pFlag) {
if (!Buffers.isDirect(pFlag))
throw new GLException("Argument \"pFlag\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglIsEnabledFrameLockI3D;
if (__addr_ == 0) {
throw new GLException("Method \"wglIsEnabledFrameLockI3D\" not available");
}
return dispatch_wglIsEnabledFrameLockI3D0(pFlag, Buffers.getDirectBufferByteOffset(pFlag), __addr_);
}
/** Entry point to C language function: BOOL wglIsEnabledFrameLockI3D(BOOL * pFlag);
Part of WGL_I3D_swap_frame_lock
@param pFlag a direct only {@link java.nio.ByteBuffer} */
private native boolean dispatch_wglIsEnabledFrameLockI3D0(Object pFlag, int pFlag_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglJoinSwapGroupNV(HANDLE hDC, GLuint group);
Part of WGL_NV_swap_group
*/
public boolean wglJoinSwapGroupNV(long hDC, int group) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglJoinSwapGroupNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglJoinSwapGroupNV\" not available");
}
return dispatch_wglJoinSwapGroupNV0(hDC, group, __addr_);
}
/** Entry point to C language function: BOOL wglJoinSwapGroupNV(HANDLE hDC, GLuint group);
Part of WGL_NV_swap_group
*/
private native boolean dispatch_wglJoinSwapGroupNV0(long hDC, int group, long procAddress);
/** Entry point to C language function: GLboolean wglLoadDisplayColorTableEXT(const GLushort * table, GLuint length);
Part of WGL_EXT_display_color_table
@param table a direct only {@link java.nio.ShortBuffer} */
public boolean wglLoadDisplayColorTableEXT(ShortBuffer table, int length) {
if (!Buffers.isDirect(table))
throw new GLException("Argument \"table\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglLoadDisplayColorTableEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglLoadDisplayColorTableEXT\" not available");
}
return dispatch_wglLoadDisplayColorTableEXT0(table, Buffers.getDirectBufferByteOffset(table), length, __addr_);
}
/** Entry point to C language function: GLboolean wglLoadDisplayColorTableEXT(const GLushort * table, GLuint length);
Part of WGL_EXT_display_color_table
@param table a direct only {@link java.nio.ShortBuffer} */
private native boolean dispatch_wglLoadDisplayColorTableEXT0(Object table, int table_byte_offset, int length, long procAddress);
/** Entry point to C language function: BOOL wglMakeAssociatedContextCurrentAMD(HANDLE hglrc);
Part of WGL_AMD_gpu_association
*/
public boolean wglMakeAssociatedContextCurrentAMD(long hglrc) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglMakeAssociatedContextCurrentAMD;
if (__addr_ == 0) {
throw new GLException("Method \"wglMakeAssociatedContextCurrentAMD\" not available");
}
return dispatch_wglMakeAssociatedContextCurrentAMD0(hglrc, __addr_);
}
/** Entry point to C language function: BOOL wglMakeAssociatedContextCurrentAMD(HANDLE hglrc);
Part of WGL_AMD_gpu_association
*/
private native boolean dispatch_wglMakeAssociatedContextCurrentAMD0(long hglrc, long procAddress);
/** Entry point to C language function: BOOL wglMakeContextCurrent(HANDLE hDrawDC, HANDLE hReadDC, HANDLE hglrc);
Part of WGL_ARB_make_current_read
*/
public boolean wglMakeContextCurrent(long hDrawDC, long hReadDC, long hglrc) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglMakeContextCurrent;
if (__addr_ == 0) {
throw new GLException("Method \"wglMakeContextCurrent\" not available");
}
return dispatch_wglMakeContextCurrent0(hDrawDC, hReadDC, hglrc, __addr_);
}
/** Entry point to C language function: BOOL wglMakeContextCurrent(HANDLE hDrawDC, HANDLE hReadDC, HANDLE hglrc);
Part of WGL_ARB_make_current_read
*/
private native boolean dispatch_wglMakeContextCurrent0(long hDrawDC, long hReadDC, long hglrc, long procAddress);
/** Entry point to C language function: BOOL wglQueryFrameCountNV(HANDLE hDC, GLuint * count);
Part of WGL_NV_swap_group
@param count a direct only {@link java.nio.IntBuffer} */
public boolean wglQueryFrameCountNV(long hDC, IntBuffer count) {
if (!Buffers.isDirect(count))
throw new GLException("Argument \"count\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglQueryFrameCountNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglQueryFrameCountNV\" not available");
}
return dispatch_wglQueryFrameCountNV0(hDC, count, Buffers.getDirectBufferByteOffset(count), __addr_);
}
/** Entry point to C language function: BOOL wglQueryFrameCountNV(HANDLE hDC, GLuint * count);
Part of WGL_NV_swap_group
@param count a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglQueryFrameCountNV0(long hDC, Object count, int count_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglQueryFrameLockMasterI3D(BOOL * pFlag);
Part of WGL_I3D_swap_frame_lock
@param pFlag a direct only {@link java.nio.ByteBuffer} */
public boolean wglQueryFrameLockMasterI3D(ByteBuffer pFlag) {
if (!Buffers.isDirect(pFlag))
throw new GLException("Argument \"pFlag\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglQueryFrameLockMasterI3D;
if (__addr_ == 0) {
throw new GLException("Method \"wglQueryFrameLockMasterI3D\" not available");
}
return dispatch_wglQueryFrameLockMasterI3D0(pFlag, Buffers.getDirectBufferByteOffset(pFlag), __addr_);
}
/** Entry point to C language function: BOOL wglQueryFrameLockMasterI3D(BOOL * pFlag);
Part of WGL_I3D_swap_frame_lock
@param pFlag a direct only {@link java.nio.ByteBuffer} */
private native boolean dispatch_wglQueryFrameLockMasterI3D0(Object pFlag, int pFlag_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglQueryFrameTrackingI3D(DWORD * pFrameCount, DWORD * pMissedFrames, float * pLastMissedUsage);
Part of WGL_I3D_swap_frame_usage
@param pFrameCount a direct only {@link java.nio.IntBuffer}
@param pMissedFrames a direct only {@link java.nio.IntBuffer}
@param pLastMissedUsage a direct only {@link java.nio.FloatBuffer} */
public boolean wglQueryFrameTrackingI3D(IntBuffer pFrameCount, IntBuffer pMissedFrames, FloatBuffer pLastMissedUsage) {
if (!Buffers.isDirect(pFrameCount))
throw new GLException("Argument \"pFrameCount\" is not a direct buffer");
if (!Buffers.isDirect(pMissedFrames))
throw new GLException("Argument \"pMissedFrames\" is not a direct buffer");
if (!Buffers.isDirect(pLastMissedUsage))
throw new GLException("Argument \"pLastMissedUsage\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglQueryFrameTrackingI3D;
if (__addr_ == 0) {
throw new GLException("Method \"wglQueryFrameTrackingI3D\" not available");
}
return dispatch_wglQueryFrameTrackingI3D0(pFrameCount, Buffers.getDirectBufferByteOffset(pFrameCount), pMissedFrames, Buffers.getDirectBufferByteOffset(pMissedFrames), pLastMissedUsage, Buffers.getDirectBufferByteOffset(pLastMissedUsage), __addr_);
}
/** Entry point to C language function: BOOL wglQueryFrameTrackingI3D(DWORD * pFrameCount, DWORD * pMissedFrames, float * pLastMissedUsage);
Part of WGL_I3D_swap_frame_usage
@param pFrameCount a direct only {@link java.nio.IntBuffer}
@param pMissedFrames a direct only {@link java.nio.IntBuffer}
@param pLastMissedUsage a direct only {@link java.nio.FloatBuffer} */
private native boolean dispatch_wglQueryFrameTrackingI3D0(Object pFrameCount, int pFrameCount_byte_offset, Object pMissedFrames, int pMissedFrames_byte_offset, Object pLastMissedUsage, int pLastMissedUsage_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglQueryMaxSwapGroupsNV(HANDLE hDC, GLuint * maxGroups, GLuint * maxBarriers);
Part of WGL_NV_swap_group
@param maxGroups a direct only {@link java.nio.IntBuffer}
@param maxBarriers a direct only {@link java.nio.IntBuffer} */
public boolean wglQueryMaxSwapGroupsNV(long hDC, IntBuffer maxGroups, IntBuffer maxBarriers) {
if (!Buffers.isDirect(maxGroups))
throw new GLException("Argument \"maxGroups\" is not a direct buffer");
if (!Buffers.isDirect(maxBarriers))
throw new GLException("Argument \"maxBarriers\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglQueryMaxSwapGroupsNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglQueryMaxSwapGroupsNV\" not available");
}
return dispatch_wglQueryMaxSwapGroupsNV0(hDC, maxGroups, Buffers.getDirectBufferByteOffset(maxGroups), maxBarriers, Buffers.getDirectBufferByteOffset(maxBarriers), __addr_);
}
/** Entry point to C language function: BOOL wglQueryMaxSwapGroupsNV(HANDLE hDC, GLuint * maxGroups, GLuint * maxBarriers);
Part of WGL_NV_swap_group
@param maxGroups a direct only {@link java.nio.IntBuffer}
@param maxBarriers a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglQueryMaxSwapGroupsNV0(long hDC, Object maxGroups, int maxGroups_byte_offset, Object maxBarriers, int maxBarriers_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglQueryPbufferARB(HANDLE hPbuffer, int iAttribute, int * piValue);
Part of WGL_ARB_pbuffer
@param piValue a direct only {@link java.nio.IntBuffer} */
public boolean wglQueryPbufferARB(long hPbuffer, int iAttribute, IntBuffer piValue) {
if (!Buffers.isDirect(piValue))
throw new GLException("Argument \"piValue\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglQueryPbufferARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglQueryPbufferARB\" not available");
}
return dispatch_wglQueryPbufferARB0(hPbuffer, iAttribute, piValue, Buffers.getDirectBufferByteOffset(piValue), __addr_);
}
/** Entry point to C language function: BOOL wglQueryPbufferARB(HANDLE hPbuffer, int iAttribute, int * piValue);
Part of WGL_ARB_pbuffer
@param piValue a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglQueryPbufferARB0(long hPbuffer, int iAttribute, Object piValue, int piValue_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglQueryPbufferEXT(HANDLE hPbuffer, int iAttribute, int * piValue);
Part of WGL_EXT_pbuffer
@param piValue a direct only {@link java.nio.IntBuffer} */
public boolean wglQueryPbufferEXT(long hPbuffer, int iAttribute, IntBuffer piValue) {
if (!Buffers.isDirect(piValue))
throw new GLException("Argument \"piValue\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglQueryPbufferEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglQueryPbufferEXT\" not available");
}
return dispatch_wglQueryPbufferEXT0(hPbuffer, iAttribute, piValue, Buffers.getDirectBufferByteOffset(piValue), __addr_);
}
/** Entry point to C language function: BOOL wglQueryPbufferEXT(HANDLE hPbuffer, int iAttribute, int * piValue);
Part of WGL_EXT_pbuffer
@param piValue a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglQueryPbufferEXT0(long hPbuffer, int iAttribute, Object piValue, int piValue_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglQuerySwapGroupNV(HANDLE hDC, GLuint * group, GLuint * barrier);
Part of WGL_NV_swap_group
@param group a direct only {@link java.nio.IntBuffer}
@param barrier a direct only {@link java.nio.IntBuffer} */
public boolean wglQuerySwapGroupNV(long hDC, IntBuffer group, IntBuffer barrier) {
if (!Buffers.isDirect(group))
throw new GLException("Argument \"group\" is not a direct buffer");
if (!Buffers.isDirect(barrier))
throw new GLException("Argument \"barrier\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglQuerySwapGroupNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglQuerySwapGroupNV\" not available");
}
return dispatch_wglQuerySwapGroupNV0(hDC, group, Buffers.getDirectBufferByteOffset(group), barrier, Buffers.getDirectBufferByteOffset(barrier), __addr_);
}
/** Entry point to C language function: BOOL wglQuerySwapGroupNV(HANDLE hDC, GLuint * group, GLuint * barrier);
Part of WGL_NV_swap_group
@param group a direct only {@link java.nio.IntBuffer}
@param barrier a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglQuerySwapGroupNV0(long hDC, Object group, int group_byte_offset, Object barrier, int barrier_byte_offset, long procAddress);
/** Entry point to C language function: int wglReleasePbufferDCARB(HANDLE hPbuffer, HANDLE hDC);
Part of WGL_ARB_pbuffer
*/
public int wglReleasePbufferDCARB(long hPbuffer, long hDC) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglReleasePbufferDCARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglReleasePbufferDCARB\" not available");
}
return dispatch_wglReleasePbufferDCARB0(hPbuffer, hDC, __addr_);
}
/** Entry point to C language function: int wglReleasePbufferDCARB(HANDLE hPbuffer, HANDLE hDC);
Part of WGL_ARB_pbuffer
*/
private native int dispatch_wglReleasePbufferDCARB0(long hPbuffer, long hDC, long procAddress);
/** Entry point to C language function: int wglReleasePbufferDCEXT(HANDLE hPbuffer, HANDLE hDC);
Part of WGL_EXT_pbuffer
*/
public int wglReleasePbufferDCEXT(long hPbuffer, long hDC) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglReleasePbufferDCEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglReleasePbufferDCEXT\" not available");
}
return dispatch_wglReleasePbufferDCEXT0(hPbuffer, hDC, __addr_);
}
/** Entry point to C language function: int wglReleasePbufferDCEXT(HANDLE hPbuffer, HANDLE hDC);
Part of WGL_EXT_pbuffer
*/
private native int dispatch_wglReleasePbufferDCEXT0(long hPbuffer, long hDC, long procAddress);
/** Entry point to C language function: BOOL wglReleaseTexImageARB(HANDLE hPbuffer, int iBuffer);
Part of WGL_ARB_render_texture
*/
public boolean wglReleaseTexImageARB(long hPbuffer, int iBuffer) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglReleaseTexImageARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglReleaseTexImageARB\" not available");
}
return dispatch_wglReleaseTexImageARB0(hPbuffer, iBuffer, __addr_);
}
/** Entry point to C language function: BOOL wglReleaseTexImageARB(HANDLE hPbuffer, int iBuffer);
Part of WGL_ARB_render_texture
*/
private native boolean dispatch_wglReleaseTexImageARB0(long hPbuffer, int iBuffer, long procAddress);
/** Entry point to C language function: BOOL wglResetFrameCountNV(HANDLE hDC);
Part of WGL_NV_swap_group
*/
public boolean wglResetFrameCountNV(long hDC) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglResetFrameCountNV;
if (__addr_ == 0) {
throw new GLException("Method \"wglResetFrameCountNV\" not available");
}
return dispatch_wglResetFrameCountNV0(hDC, __addr_);
}
/** Entry point to C language function: BOOL wglResetFrameCountNV(HANDLE hDC);
Part of WGL_NV_swap_group
*/
private native boolean dispatch_wglResetFrameCountNV0(long hDC, long procAddress);
/** Entry point to C language function: BOOL wglRestoreBufferRegionARB(HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
Part of WGL_ARB_buffer_region
*/
public boolean wglRestoreBufferRegionARB(long hRegion, int x, int y, int width, int height, int xSrc, int ySrc) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglRestoreBufferRegionARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglRestoreBufferRegionARB\" not available");
}
return dispatch_wglRestoreBufferRegionARB0(hRegion, x, y, width, height, xSrc, ySrc, __addr_);
}
/** Entry point to C language function: BOOL wglRestoreBufferRegionARB(HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
Part of WGL_ARB_buffer_region
*/
private native boolean dispatch_wglRestoreBufferRegionARB0(long hRegion, int x, int y, int width, int height, int xSrc, int ySrc, long procAddress);
/** Entry point to C language function: BOOL wglSaveBufferRegionARB(HANDLE hRegion, int x, int y, int width, int height);
Part of WGL_ARB_buffer_region
*/
public boolean wglSaveBufferRegionARB(long hRegion, int x, int y, int width, int height) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglSaveBufferRegionARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglSaveBufferRegionARB\" not available");
}
return dispatch_wglSaveBufferRegionARB0(hRegion, x, y, width, height, __addr_);
}
/** Entry point to C language function: BOOL wglSaveBufferRegionARB(HANDLE hRegion, int x, int y, int width, int height);
Part of WGL_ARB_buffer_region
*/
private native boolean dispatch_wglSaveBufferRegionARB0(long hRegion, int x, int y, int width, int height, long procAddress);
/** Entry point to C language function: BOOL wglSetPbufferAttribARB(HANDLE hPbuffer, const int * piAttribList);
Part of WGL_ARB_render_texture
@param piAttribList a direct only {@link java.nio.IntBuffer} */
public boolean wglSetPbufferAttribARB(long hPbuffer, IntBuffer piAttribList) {
if (!Buffers.isDirect(piAttribList))
throw new GLException("Argument \"piAttribList\" is not a direct buffer");
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglSetPbufferAttribARB;
if (__addr_ == 0) {
throw new GLException("Method \"wglSetPbufferAttribARB\" not available");
}
return dispatch_wglSetPbufferAttribARB0(hPbuffer, piAttribList, Buffers.getDirectBufferByteOffset(piAttribList), __addr_);
}
/** Entry point to C language function: BOOL wglSetPbufferAttribARB(HANDLE hPbuffer, const int * piAttribList);
Part of WGL_ARB_render_texture
@param piAttribList a direct only {@link java.nio.IntBuffer} */
private native boolean dispatch_wglSetPbufferAttribARB0(long hPbuffer, Object piAttribList, int piAttribList_byte_offset, long procAddress);
/** Entry point to C language function: BOOL wglSetStereoEmitterState3DL(HANDLE hDC, UINT uState);
Part of WGL_3DL_stereo_control
*/
public boolean wglSetStereoEmitterState3DL(long hDC, int uState) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglSetStereoEmitterState3DL;
if (__addr_ == 0) {
throw new GLException("Method \"wglSetStereoEmitterState3DL\" not available");
}
return dispatch_wglSetStereoEmitterState3DL0(hDC, uState, __addr_);
}
/** Entry point to C language function: BOOL wglSetStereoEmitterState3DL(HANDLE hDC, UINT uState);
Part of WGL_3DL_stereo_control
*/
private native boolean dispatch_wglSetStereoEmitterState3DL0(long hDC, int uState, long procAddress);
/** Entry point to C language function: BOOL wglSwapIntervalEXT(int interval);
Part of WGL_EXT_swap_control
*/
public boolean wglSwapIntervalEXT(int interval) {
final long __addr_ = _context.getWGLExtProcAddressTable()._addressof_wglSwapIntervalEXT;
if (__addr_ == 0) {
throw new GLException("Method \"wglSwapIntervalEXT\" not available");
}
return dispatch_wglSwapIntervalEXT0(interval, __addr_);
}
/** Entry point to C language function: BOOL wglSwapIntervalEXT(int interval);
Part of WGL_EXT_swap_control
*/
private native boolean dispatch_wglSwapIntervalEXT0(int interval, long procAddress);
// --- Begin CustomJavaCode .cfg declarations
public WGLExtImpl(WindowsWGLContext context) {
this._context = context;
}
public boolean isFunctionAvailable(String glFunctionName)
{
return _context.isFunctionAvailable(glFunctionName);
}
public boolean isExtensionAvailable(String glExtensionName)
{
return _context.isExtensionAvailable(glExtensionName);
}
private WindowsWGLContext _context;
// ---- End CustomJavaCode .cfg declarations
} // end of class WGLExtImpl