Package org.lwjgl.opengl
Class GLX14
- java.lang.Object
-
- org.lwjgl.opengl.GLX
-
- org.lwjgl.opengl.GLX11
-
- org.lwjgl.opengl.GLX12
-
- org.lwjgl.opengl.GLX13
-
- org.lwjgl.opengl.GLX14
-
public class GLX14 extends GLX13
Native bindings to GLX 1.4.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.lwjgl.opengl.GLX
GLX.Functions
-
-
Field Summary
Fields Modifier and Type Field Description static int
GLX_SAMPLE_BUFFERS
GLX_SAMPLESAdded in GLX 1.4.-
Fields inherited from class org.lwjgl.opengl.GLX
GLX_ACCUM_ALPHA_SIZE, GLX_ACCUM_BLUE_SIZE, GLX_ACCUM_GREEN_SIZE, GLX_ACCUM_RED_SIZE, GLX_ALPHA_SIZE, GLX_AUX_BUFFERS, GLX_BAD_ATTRIBUTE, GLX_BAD_CONTEXT, GLX_BAD_ENUM, GLX_BAD_SCREEN, GLX_BAD_VALUE, GLX_BAD_VISUAL, GLX_BLUE_SIZE, GLX_BUFFER_SIZE, GLX_DEPTH_SIZE, GLX_DOUBLEBUFFER, GLX_GREEN_SIZE, GLX_LEVEL, GLX_NO_EXTENSION, GLX_RED_SIZE, GLX_RGBA, GLX_STENCIL_SIZE, GLX_STEREO, GLX_USE_GL, GLXBadContext, GLXBadContextState, GLXBadContextTag, GLXBadCurrentDrawable, GLXBadCurrentWindow, GLXBadDrawable, GLXBadFBConfig, GLXBadLargeRequest, GLXBadPbuffer, GLXBadPixmap, GLXBadRenderRequest, GLXBadWindow, GLXUnsupportedPrivateRequest
-
Fields inherited from class org.lwjgl.opengl.GLX11
GLX_EXTENSIONS, GLX_VENDOR, GLX_VERSION
-
Fields inherited from class org.lwjgl.opengl.GLX13
GLX_ACCUM_BUFFER_BIT, GLX_AUX_BUFFERS_BIT, GLX_BACK_LEFT_BUFFER_BIT, GLX_BACK_RIGHT_BUFFER_BIT, GLX_COLOR_INDEX_BIT, GLX_COLOR_INDEX_TYPE, GLX_CONFIG_CAVEAT, GLX_DAMAGED, GLX_DEPTH_BUFFER_BIT, GLX_DIRECT_COLOR, GLX_DONT_CARE, GLX_DRAWABLE_TYPE, GLX_EVENT_MASK, GLX_FBCONFIG_ID, GLX_FRONT_LEFT_BUFFER_BIT, GLX_FRONT_RIGHT_BUFFER_BIT, GLX_GRAY_SCALE, GLX_HEIGHT, GLX_LARGEST_PBUFFER, GLX_MAX_PBUFFER_HEIGHT, GLX_MAX_PBUFFER_PIXELS, GLX_MAX_PBUFFER_WIDTH, GLX_NON_CONFORMANT_CONFIG, GLX_NONE, GLX_PBUFFER, GLX_PBUFFER_BIT, GLX_PBUFFER_CLOBBER_MASK, GLX_PBUFFER_HEIGHT, GLX_PBUFFER_WIDTH, GLX_PIXMAP_BIT, GLX_PRESERVED_CONTENTS, GLX_PSEUDO_COLOR, GLX_RENDER_TYPE, GLX_RGBA_BIT, GLX_RGBA_TYPE, GLX_SAVED, GLX_SCREEN, GLX_SLOW_CONFIG, GLX_STATIC_COLOR, GLX_STATIC_GRAY, GLX_STENCIL_BUFFER_BIT, GLX_TRANSPARENT_ALPHA_VALUE, GLX_TRANSPARENT_BLUE_VALUE, GLX_TRANSPARENT_GREEN_VALUE, GLX_TRANSPARENT_INDEX, GLX_TRANSPARENT_INDEX_VALUE, GLX_TRANSPARENT_RED_VALUE, GLX_TRANSPARENT_RGB, GLX_TRANSPARENT_TYPE, GLX_TRUE_COLOR, GLX_VISUAL_ID, GLX_WIDTH, GLX_WINDOW, GLX_WINDOW_BIT, GLX_X_RENDERABLE, GLX_X_VISUAL_TYPE
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
glXGetProcAddress(java.lang.CharSequence procName)
Returns the address of the extension function named byprocName
.static long
glXGetProcAddress(java.nio.ByteBuffer procName)
Returns the address of the extension function named byprocName
.static long
nglXGetProcAddress(long procName)
Unsafe version of:GetProcAddress
-
Methods inherited from class org.lwjgl.opengl.GLX
glXChooseVisual, glXChooseVisual, glXCopyContext, glXCreateContext, glXCreateGLXPixmap, glXDestroyContext, glXDestroyGLXPixmap, glXGetConfig, glXGetConfig, glXGetCurrentContext, glXGetCurrentDrawable, glXIsDirect, glXMakeCurrent, glXQueryExtension, glXQueryExtension, glXQueryVersion, glXQueryVersion, glXSwapBuffers, glXUseXFont, glXWaitGL, glXWaitX, nglXChooseVisual, nglXCreateContext, nglXCreateGLXPixmap, nglXGetConfig, nglXQueryExtension, nglXQueryVersion
-
Methods inherited from class org.lwjgl.opengl.GLX11
glXGetClientString, glXQueryExtensionsString, glXQueryServerString, nglXGetClientString, nglXQueryExtensionsString, nglXQueryServerString
-
Methods inherited from class org.lwjgl.opengl.GLX12
glXGetCurrentDisplay
-
Methods inherited from class org.lwjgl.opengl.GLX13
glXChooseFBConfig, glXChooseFBConfig, glXCreateNewContext, glXCreatePbuffer, glXCreatePbuffer, glXCreatePixmap, glXCreatePixmap, glXCreateWindow, glXCreateWindow, glXDestroyPbuffer, glXDestroyPixmap, glXGetCurrentReadDrawable, glXGetFBConfigAttrib, glXGetFBConfigAttrib, glXGetFBConfigs, glXGetSelectedEvent, glXGetVisualFromFBConfig, glXMakeContextCurrent, glXQueryContext, glXQueryContext, glXQueryDrawable, glXQueryDrawable, glXQueryDrawable, glXSelectEvent, nglXChooseFBConfig, nglXCreatePbuffer, nglXCreatePixmap, nglXCreateWindow, nglXGetFBConfigAttrib, nglXGetFBConfigs, nglXGetSelectedEvent, nglXGetVisualFromFBConfig, nglXQueryContext, nglXQueryDrawable
-
-
-
-
Field Detail
-
GLX_SAMPLE_BUFFERS, GLX_SAMPLES
Added in GLX 1.4.
-
-
Method Detail
-
nglXGetProcAddress
public static long nglXGetProcAddress(long procName)
Unsafe version of:GetProcAddress
-
glXGetProcAddress
public static long glXGetProcAddress(java.nio.ByteBuffer procName) public static long glXGetProcAddress(java.lang.CharSequence procName)
Returns the address of the extension function named byprocName
. The pointer returned should be cast to a function pointer type matching the extension function's definition in that extension specification. A return value ofNULL
indicates that the specified function does not exist for the implementation.A non-
NULL
return value forglXGetProcAddress
does not guarantee that an extension function is actually supported at runtime. The client must also queryGetString
(GL11.GL_EXTENSIONS
) orQueryExtensionsString
to determine if an extension is supported by a particular context.GL function pointers returned by
glXGetProcAddress
are independent of the currently bound context and may be used by any context which supports the extension.glXGetProcAddress
may be queried for all of the following functions:- All GL and GLX extension functions supported by the implementation (whether those extensions are supported by the current context or not).
- All core (non-extension) functions in GL and GLX from version 1.0 up to and including the versions of those specifications supported by the
implementation, as determined by
GetString
(GL11.GL_VERSION
) andQueryVersion
queries.
- Parameters:
procName
- the function name to query
-
-