public class GLXARBGetProcAddress
extends java.lang.Object
This extension adds a function to return the address of GLX and GL extension functions, given the function name. This is necessary with (for example)
heterogenous implementations where hardware drivers may implement extension functions not known to the link library; a similar situation on Windows
implementations resulted in the wglGetProcAddress function.
| Modifier and Type | Method and Description |
|---|---|
static long |
glXGetProcAddressARB(java.nio.ByteBuffer procName)
Returns the address of the extension function named by procName.
|
static long |
glXGetProcAddressARB(java.lang.CharSequence procName)
Returns the address of the extension function named by procName.
|
static long |
nglXGetProcAddressARB(long procName)
Unsafe version of:
GetProcAddressARB |
public static long nglXGetProcAddressARB(long procName)
GetProcAddressARBpublic static long glXGetProcAddressARB(java.nio.ByteBuffer procName)
NULL indicates that the specified function does not exist for the
implementation.
A non-NULL return value for glXGetProcAddressARB does not guarantee that an extension function is actually supported at runtime. The client
must must also query GetString(GL11.GL_EXTENSIONS) or QueryExtensionsString to determine if an extension is supported by a particular
context.
GL function pointers returned by glXGetProcAddressARB are independent of the currently bound context and may be used by any context which
supports the extension.
glXGetProcAddressARB may be queried for all of the following functions:
GetString(GL11.GL_VERSION) and QueryVersion queries.procName - the function name to querypublic static long glXGetProcAddressARB(java.lang.CharSequence procName)
NULL indicates that the specified function does not exist for the
implementation.
A non-NULL return value for glXGetProcAddressARB does not guarantee that an extension function is actually supported at runtime. The client
must must also query GetString(GL11.GL_EXTENSIONS) or QueryExtensionsString to determine if an extension is supported by a particular
context.
GL function pointers returned by glXGetProcAddressARB are independent of the currently bound context and may be used by any context which
supports the extension.
glXGetProcAddressARB may be queried for all of the following functions:
GetString(GL11.GL_VERSION) and QueryVersion queries.procName - the function name to queryCopyright LWJGL. All Rights Reserved. License terms.