com.jogamp.opengl.impl.windows.wgl
Class WGLExtProcAddressTable
java.lang.Object
com.jogamp.gluegen.runtime.ProcAddressTable
com.jogamp.opengl.impl.windows.wgl.WGLExtProcAddressTable
public class WGLExtProcAddressTable
- extends com.jogamp.gluegen.runtime.ProcAddressTable
This table is a cache of pointers to the dynamically-linkable C
functions this autogenerated Java binding has exposed. Some
libraries such as OpenGL, OpenAL and others define function pointer
signatures rather than statically linkable entry points for the
purposes of being able to query at run-time whether a particular
extension is available. This table acts as a cache of these
function pointers. Each function pointer is typically looked up at
run-time by a platform-dependent mechanism such as dlsym(),
wgl/glXGetProcAddress(), or alGetProcAddress(). The associated
autogenerated Java and C code accesses the fields in this table to
call the various functions. If the field containing the function
pointer is 0, the function is considered to be unavailable and can
not be called.
Fields inherited from class com.jogamp.gluegen.runtime.ProcAddressTable |
DEBUG, DEBUG_PREFIX, debugNum, PROCADDRESS_VAR_PREFIX |
Method Summary |
long |
getAddressFor(String functionNameUsr)
This is a convenience method to get (by name) the native function
pointer for a given function. |
Methods inherited from class com.jogamp.gluegen.runtime.ProcAddressTable |
getDebugOutStream, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_addressof_glMapBuffer
public long _addressof_glMapBuffer
_addressof_wglAllocateMemoryNV
public long _addressof_wglAllocateMemoryNV
_addressof_wglBeginFrameTrackingI3D
public long _addressof_wglBeginFrameTrackingI3D
_addressof_wglBindDisplayColorTableEXT
public long _addressof_wglBindDisplayColorTableEXT
_addressof_wglBindSwapBarrierNV
public long _addressof_wglBindSwapBarrierNV
_addressof_wglBindTexImageARB
public long _addressof_wglBindTexImageARB
_addressof_wglChoosePixelFormatARB
public long _addressof_wglChoosePixelFormatARB
_addressof_wglChoosePixelFormatEXT
public long _addressof_wglChoosePixelFormatEXT
_addressof_wglCreateBufferRegionARB
public long _addressof_wglCreateBufferRegionARB
_addressof_wglCreateContextAttribsARB
public long _addressof_wglCreateContextAttribsARB
_addressof_wglCreateDisplayColorTableEXT
public long _addressof_wglCreateDisplayColorTableEXT
_addressof_wglCreatePbufferARB
public long _addressof_wglCreatePbufferARB
_addressof_wglCreatePbufferEXT
public long _addressof_wglCreatePbufferEXT
_addressof_wglDeleteBufferRegionARB
public long _addressof_wglDeleteBufferRegionARB
_addressof_wglDestroyDisplayColorTableEXT
public long _addressof_wglDestroyDisplayColorTableEXT
_addressof_wglDestroyPbufferARB
public long _addressof_wglDestroyPbufferARB
_addressof_wglDestroyPbufferEXT
public long _addressof_wglDestroyPbufferEXT
_addressof_wglDisableFrameLockI3D
public long _addressof_wglDisableFrameLockI3D
_addressof_wglEnableFrameLockI3D
public long _addressof_wglEnableFrameLockI3D
_addressof_wglEndFrameTrackingI3D
public long _addressof_wglEndFrameTrackingI3D
_addressof_wglFreeMemoryNV
public long _addressof_wglFreeMemoryNV
_addressof_wglGetCurrentReadDC
public long _addressof_wglGetCurrentReadDC
_addressof_wglGetExtensionsStringARB
public long _addressof_wglGetExtensionsStringARB
_addressof_wglGetExtensionsStringEXT
public long _addressof_wglGetExtensionsStringEXT
_addressof_wglGetFrameUsageI3D
public long _addressof_wglGetFrameUsageI3D
_addressof_wglGetPbufferDCARB
public long _addressof_wglGetPbufferDCARB
_addressof_wglGetPbufferDCEXT
public long _addressof_wglGetPbufferDCEXT
_addressof_wglGetPixelFormatAttribfvARB
public long _addressof_wglGetPixelFormatAttribfvARB
_addressof_wglGetPixelFormatAttribfvEXT
public long _addressof_wglGetPixelFormatAttribfvEXT
_addressof_wglGetPixelFormatAttribivARB
public long _addressof_wglGetPixelFormatAttribivARB
_addressof_wglGetPixelFormatAttribivEXT
public long _addressof_wglGetPixelFormatAttribivEXT
_addressof_wglGetSwapIntervalEXT
public long _addressof_wglGetSwapIntervalEXT
_addressof_wglIsEnabledFrameLockI3D
public long _addressof_wglIsEnabledFrameLockI3D
_addressof_wglJoinSwapGroupNV
public long _addressof_wglJoinSwapGroupNV
_addressof_wglLoadDisplayColorTableEXT
public long _addressof_wglLoadDisplayColorTableEXT
_addressof_wglMakeContextCurrent
public long _addressof_wglMakeContextCurrent
_addressof_wglQueryFrameCountNV
public long _addressof_wglQueryFrameCountNV
_addressof_wglQueryFrameLockMasterI3D
public long _addressof_wglQueryFrameLockMasterI3D
_addressof_wglQueryFrameTrackingI3D
public long _addressof_wglQueryFrameTrackingI3D
_addressof_wglQueryMaxSwapGroupsNV
public long _addressof_wglQueryMaxSwapGroupsNV
_addressof_wglQueryPbufferARB
public long _addressof_wglQueryPbufferARB
_addressof_wglQueryPbufferEXT
public long _addressof_wglQueryPbufferEXT
_addressof_wglQuerySwapGroupNV
public long _addressof_wglQuerySwapGroupNV
_addressof_wglReleasePbufferDCARB
public long _addressof_wglReleasePbufferDCARB
_addressof_wglReleasePbufferDCEXT
public long _addressof_wglReleasePbufferDCEXT
_addressof_wglReleaseTexImageARB
public long _addressof_wglReleaseTexImageARB
_addressof_wglResetFrameCountNV
public long _addressof_wglResetFrameCountNV
_addressof_wglRestoreBufferRegionARB
public long _addressof_wglRestoreBufferRegionARB
_addressof_wglSaveBufferRegionARB
public long _addressof_wglSaveBufferRegionARB
_addressof_wglSetPbufferAttribARB
public long _addressof_wglSetPbufferAttribARB
_addressof_wglSwapIntervalEXT
public long _addressof_wglSwapIntervalEXT
WGLExtProcAddressTable
public WGLExtProcAddressTable()
WGLExtProcAddressTable
public WGLExtProcAddressTable(com.jogamp.gluegen.runtime.FunctionAddressResolver resolver)
getAddressFor
public long getAddressFor(String functionNameUsr)
- This is a convenience method to get (by name) the native function
pointer for a given function. It lets you avoid having to
manually compute the "_addressof_ +
<functionName>" member variable name and look it up via
reflection; it also will throw an exception if you try to get the
address of an unknown function, or one that is statically linked
and therefore does not have a function pointer in this table.
- Specified by:
getAddressFor
in class com.jogamp.gluegen.runtime.ProcAddressTable
- Throws:
RuntimeException
- if the function pointer was not found in
this table, either because the function was unknown or because
it was statically linked.
Copyright 2010 JogAmp Community.