Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class GLX14

extends GLX13
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

Native bindings to GLX 1.4.

Field Summary

Modifier and TypeField and Description
public static final int
GLX_SAMPLE_BUFFERS

Added in GLX 1.4.

public static final int
GLX_SAMPLES

Added in GLX 1.4.

Inherited from org.lwjgl.opengl.GLX13:
GLX_ACCUM_BUFFER_BITGLX_AUX_BUFFERS_BITGLX_BACK_LEFT_BUFFER_BITGLX_BACK_RIGHT_BUFFER_BITGLX_COLOR_INDEX_BITGLX_COLOR_INDEX_TYPEGLX_CONFIG_CAVEATGLX_DAMAGEDGLX_DEPTH_BUFFER_BITGLX_DIRECT_COLORGLX_DONT_CAREGLX_DRAWABLE_TYPEGLX_EVENT_MASKGLX_FBCONFIG_IDGLX_FRONT_LEFT_BUFFER_BITGLX_FRONT_RIGHT_BUFFER_BITGLX_GRAY_SCALEGLX_HEIGHTGLX_LARGEST_PBUFFERGLX_MAX_PBUFFER_HEIGHTGLX_MAX_PBUFFER_PIXELSGLX_MAX_PBUFFER_WIDTHGLX_NON_CONFORMANT_CONFIGGLX_NONEGLX_PBUFFERGLX_PBUFFER_BITGLX_PBUFFER_CLOBBER_MASKGLX_PBUFFER_HEIGHTGLX_PBUFFER_WIDTHGLX_PIXMAP_BITGLX_PRESERVED_CONTENTSGLX_PSEUDO_COLORGLX_RENDER_TYPEGLX_RGBA_BITGLX_RGBA_TYPEGLX_SAVEDGLX_SCREENGLX_SLOW_CONFIGGLX_STATIC_COLORGLX_STATIC_GRAYGLX_STENCIL_BUFFER_BITGLX_TRANSPARENT_ALPHA_VALUEGLX_TRANSPARENT_BLUE_VALUEGLX_TRANSPARENT_GREEN_VALUEGLX_TRANSPARENT_INDEXGLX_TRANSPARENT_INDEX_VALUEGLX_TRANSPARENT_RED_VALUEGLX_TRANSPARENT_RGBGLX_TRANSPARENT_TYPEGLX_TRUE_COLORGLX_VISUAL_IDGLX_WIDTHGLX_WINDOWGLX_WINDOW_BITGLX_X_RENDERABLEGLX_X_VISUAL_TYPE

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static long
glXGetProcAddress(ByteBuffer
the function name to query
procName
)

Returns the address of the extension function named by procName.

public static long
glXGetProcAddress(CharSequence
the function name to query
procName
)

Returns the address of the extension function named by procName.

public static long
nglXGetProcAddress(long procName)

Unsafe version of: GetProcAddress

Inherited from org.lwjgl.opengl.GLX13:
glXChooseFBConfigglXChooseFBConfigglXCreateNewContextglXCreatePbufferglXCreatePbufferglXCreatePixmapglXCreatePixmapglXCreateWindowglXCreateWindowglXDestroyPbufferglXDestroyPixmapglXGetCurrentReadDrawableglXGetFBConfigAttribglXGetFBConfigAttribglXGetFBConfigsglXGetSelectedEventglXGetVisualFromFBConfigglXMakeContextCurrentglXQueryContextglXQueryContextglXQueryDrawableglXQueryDrawableglXQueryDrawableglXSelectEventnglXChooseFBConfignglXCreatePbuffernglXCreatePixmapnglXCreateWindownglXGetFBConfigAttribnglXGetFBConfigsnglXGetSelectedEventnglXGetVisualFromFBConfignglXQueryContextnglXQueryDrawable

Field Detail

GLX_SAMPLE_BUFFERSback to summary
public static final int GLX_SAMPLE_BUFFERS

Added in GLX 1.4.

GLX_SAMPLESback to summary
public static final int GLX_SAMPLES

Added in GLX 1.4.

Constructor Detail

GLX14back to summary
protected GLX14()

Method Detail

glXGetProcAddressback to summary
public static long glXGetProcAddress(ByteBuffer procName)

Returns the address of the extension function named by procName. The pointer returned should be cast to a function pointer type matching the extension function's definition in that extension specification. A return value of NULL indicates that the specified function does not exist for the implementation.

A non-NULL return value for glXGetProcAddress does not guarantee that an extension function is actually supported at runtime. The client 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 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) and QueryVersion queries.
Parameters
procName:ByteBuffer

the function name to query

Annotations
@NativeType:void *
glXGetProcAddressback to summary
public static long glXGetProcAddress(CharSequence procName)

Returns the address of the extension function named by procName. The pointer returned should be cast to a function pointer type matching the extension function's definition in that extension specification. A return value of NULL indicates that the specified function does not exist for the implementation.

A non-NULL return value for glXGetProcAddress does not guarantee that an extension function is actually supported at runtime. The client 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 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) and QueryVersion queries.
Parameters
procName:CharSequence

the function name to query

Annotations
@NativeType:void *
nglXGetProcAddressback to summary
public static long nglXGetProcAddress(long procName)

Unsafe version of: GetProcAddress