# Uses of Class org.lwjgl.LWJGLException (LWJGL API)
Date: 2015-07-28

## Uses of Class
org.lwjgl.LWJGLException

Packages that use LWJGLException
org.lwjgl.input
org.lwjgl.openal
org.lwjgl.opencl
org.lwjgl.opengl
org.lwjgl.opengles
org.lwjgl.util

Uses of LWJGLException in org.lwjgl.input

Methods in org.lwjgl.input that throw LWJGLException
`static void` `Controllers.create()` Initialise the controllers collection
`static void` `Keyboard.create()` "Create" the keyboard.
`static void` `Mouse.create()` "Create" the mouse.
`static Cursor` `Mouse.setNativeCursor(Cursor cursor)` Binds a native cursor.

Constructors in org.lwjgl.input that throw LWJGLException
`Cursor(int width, int height, int xHotspot, int yHotspot, int numImages, java.nio.IntBuffer images, java.nio.IntBuffer delays)` Constructs a new Cursor, with the given parameters.

Uses of LWJGLException in org.lwjgl.openal

Methods in org.lwjgl.openal that throw LWJGLException
`static void` `AL.create()` Creates an OpenAL instance.
`static void` `AL.create(java.lang.String deviceArguments, int contextFrequency, int contextRefresh, boolean contextSynchronized)` Creates an OpenAL instance.
`static void` `AL.create(java.lang.String deviceArguments, int contextFrequency, int contextRefresh, boolean contextSynchronized, boolean openDevice)`

Uses of LWJGLException in org.lwjgl.opencl

Methods in org.lwjgl.opencl that throw LWJGLException
`static void` `CL.create()`
`static CLContext` `CLContext.create(CLPlatform platform, java.util.List<CLDevice> devices, CLContextCallback pfn_notify, Drawable share_drawable, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.create(CLPlatform platform, java.util.List<CLDevice> devices, CLContextCallback pfn_notify, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.create(CLPlatform platform, java.util.List<CLDevice> devices, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, Drawable share_drawable, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.
`static CLContext` `CLContext.createFromType(CLPlatform platform, long device_type, java.nio.IntBuffer errcode_ret)` Creates a new CLContext.

Uses of LWJGLException in org.lwjgl.opengl

Methods in org.lwjgl.opengl with parameters of type LWJGLException
`protected void` `AWTGLCanvas.exceptionOccurred(LWJGLException exception)` This method will be called if an unhandled LWJGLException occurs in paint().

Methods in org.lwjgl.opengl that throw LWJGLException
`static void` `Display.create()` Create the OpenGL context.
`static void` `Display.create(PixelFormat pixel_format)` Create the OpenGL context with the given minimum parameters.
`static void` `Display.create(PixelFormat pixel_format, ContextAttribs attribs)` Create the OpenGL context with the given minimum parameters.
`static void` `Display.create(PixelFormat pixel_format, Drawable shared_drawable)` Create the OpenGL context with the given minimum parameters.
`static void` `Display.create(PixelFormat pixel_format, Drawable shared_drawable, ContextAttribs attribs)` Create the OpenGL context with the given minimum parameters.
`static void` `Display.create(PixelFormatLWJGL pixel_format)` Create the OpenGL ES context with the given minimum parameters.
`static void` `Display.create(PixelFormatLWJGL pixel_format, ContextAttribs attribs)` Create the OpenGL ES context with the given minimum parameters.
`static void` `Display.create(PixelFormatLWJGL pixel_format, Drawable shared_drawable)` Create the OpenGL ES context with the given minimum parameters.
`static void` `Display.create(PixelFormatLWJGL pixel_format, Drawable shared_drawable, ContextAttribs attribs)` Create the OpenGL ES context with the given minimum parameters.
`java.lang.Object` `InputImplementation.createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, java.nio.IntBuffer images, java.nio.IntBuffer delays)` Native cursor handles
`void` `InputImplementation.createKeyboard()` Method to create the keyboard
`void` `InputImplementation.createMouse()` Method to create the mouse.
`org.lwjgl.opengl.ContextGL` `AWTGLCanvas.createSharedContext()` This method should only be called internally.
`static DisplayMode[]` `Display.getAvailableDisplayModes()` Returns the entire list of possible fullscreen display modes as an array, in no particular order.
`boolean` `AWTGLCanvas.isCurrent()`
`static boolean` `Display.isCurrent()` Returns true if the Display's context is current in the current thread.
`boolean` `Drawable.isCurrent()` Returns true if the Drawable's context is current in the current thread.
`static void` `GLContext.loadOpenGLLibrary()` If the OpenGL reference count is 0, the library is loaded.
`void` `AWTGLCanvas.makeCurrent()` Make the canvas' context current.
`static void` `Display.makeCurrent()` Make the Display the current rendering context for GL calls.
`void` `Drawable.makeCurrent()` Makes the Drawable's context current in the current thread.
`void` `AWTGLCanvas.releaseContext()`
`static void` `Display.releaseContext()` Release the Display context.
`void` `Drawable.releaseContext()` If the Drawable's context is current in the current thread, no context will be current after a call to this method.
`void` `AWTGLCanvas.setCLSharingProperties(PointerBuffer properties)`
`void` `Drawable.setCLSharingProperties(PointerBuffer properties)` Sets the appropriate khr_gl_sharing properties in the target `PointerBuffer`, so that if it is used in a `clCreateContext(FromType)` call, the created CL context will be sharing objects with this `Drawable`'s GL context.
`static void` `Display.setDisplayConfiguration(float gamma, float brightness, float contrast)` Set the display configuration to the specified gamma, brightness and contrast.
`static void` `Display.setDisplayMode(DisplayMode mode)` Set the current display mode.
`static void` `Display.setDisplayModeAndFullscreen(DisplayMode mode)` Set the mode of the context.
`static void` `Display.setFullscreen(boolean fullscreen)` Set the fullscreen mode of the context.
`void` `InputImplementation.setNativeCursor(java.lang.Object handle)` Method to set the native cursor
`static void` `Display.setParent(java.awt.Canvas parent)` Set the parent of the Display.
`void` `AWTGLCanvas.setPixelFormat(PixelFormatLWJGL pf)`
`void` `AWTGLCanvas.setPixelFormat(PixelFormatLWJGL pf, ContextAttribs attribs)`
`void` `AWTGLCanvas.swapBuffers()` Swap the canvas' buffer
`static void` `Display.swapBuffers()` Swap the display buffers.
`static void` `GLContext.useContext(java.lang.Object context)` Makes a GL context the current LWJGL context by loading GL function pointers.
`static void` `GLContext.useContext(java.lang.Object context, boolean forwardCompatible)` Makes a GL context the current LWJGL context by loading GL function pointers.

Constructors in org.lwjgl.opengl that throw LWJGLException
`AWTGLCanvas()` Constructor using the default PixelFormat.
`AWTGLCanvas(java.awt.GraphicsDevice device, PixelFormat pixel_format)` Create an AWTGLCanvas with the requested PixelFormat on the default GraphicsDevice.
`AWTGLCanvas(java.awt.GraphicsDevice device, PixelFormat pixel_format, Drawable drawable)` Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
`AWTGLCanvas(java.awt.GraphicsDevice device, PixelFormat pixel_format, Drawable drawable, ContextAttribs attribs)` Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
`AWTGLCanvas(PixelFormat pixel_format)` Create an AWTGLCanvas with the requested PixelFormat on the default GraphicsDevice.
`Pbuffer(int width, int height, PixelFormat pixel_format, Drawable shared_drawable)` Create an instance of a Pbuffer with a unique OpenGL context.
`Pbuffer(int width, int height, PixelFormat pixel_format, RenderTexture renderTexture, Drawable shared_drawable)` Create an instance of a Pbuffer with a unique OpenGL context.
`Pbuffer(int width, int height, PixelFormat pixel_format, RenderTexture renderTexture, Drawable shared_drawable, ContextAttribs attribs)` Create an instance of a Pbuffer with a unique OpenGL context.
`SharedDrawable(Drawable drawable)`

Uses of LWJGLException in org.lwjgl.opengles

Methods in org.lwjgl.opengles that throw LWJGLException
`EGLConfig[]` `EGLDisplay.chooseConfig(java.nio.IntBuffer attrib_list, EGLConfig[] configs, java.nio.IntBuffer num_config)` Returns the available EGL configs on this display that satisfy the specified list of attributes.
`EGLContext` `EGLDisplay.createContext(EGLConfig config, EGLContext shareContext, java.nio.IntBuffer attrib_list)`
`EGLSurface` `EGLDisplay.createWindowSurface(EGLConfig config, long window, java.nio.IntBuffer attrib_list)` Creates an on-screen rendering surface on this EGL display.
`void` `EGLContext.destroy()`
`void` `EGLSurface.destroy()` Destroys this EGL surface.
`static int` `EGLKHRFenceSync.eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, int flags, long timeout)` Blocks the calling thread until the specified sync object is signaled, or until a specified timeout value expires.
`static int` `EGLKHRReusableSync.eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, int flags, long timeout)` Blocks the calling thread until the specified sync object is signaled, or until a specified timeout value expires.
`static int` `EGLNVSync.eglClientWaitSyncNV(EGLSyncNV sync, int flags, long timeout)` Blocks the calling thread until the specified sync object is signaled, or until a specified timeout value expires.
`static EGLSyncNV` `EGLNVSync.eglCreateFenceSyncNV(EGLDisplay dpy, int condition, java.nio.IntBuffer attrib_list)` Creates a fence sync object for the specified EGL display and returns a handle to the new object.
`static EGLSyncKHR` `EGLKHRFenceSync.eglCreateSyncKHR(EGLDisplay dpy, int type, java.nio.IntBuffer attrib_list)` Creates a fence sync object for the specified EGL display and returns a handle to the new object.
`static EGLSyncKHR` `EGLKHRReusableSync.eglCreateSyncKHR(EGLDisplay dpy, int type, java.nio.IntBuffer attrib_list)` Creates a fence sync object for the specified EGL display and returns a handle to the new object.
`static void` `EGLKHRFenceSync.eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)` Destroys an existing sync object.
`static void` `EGLKHRReusableSync.eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)` Destroys an existing sync object.
`static void` `EGLNVSync.eglDestroySyncNV(EGLSyncNV sync)` Destroys an existing sync object.
`static void` `EGLNVSync.eglFenceNV(EGLSyncNV sync)` Inserts a fence command into the command stream of the bound API's current context and associates it with sync object.
`static EGLContext` `EGL.eglGetCurrentContext()` Returns the current EGL context for the current rendering API.
`static EGLDisplay` `EGL.eglGetCurrentDisplay()` Returns the EGL display associated with the current context.
`static EGLSurface` `EGL.eglGetCurrentSurface(int readdraw)` Returns the EGL surfaces used for rendering by the current context.
`static EGLDisplay` `EGL.eglGetDisplay(long display_id)` Obtains an EGL display from the specified native display and initializes it.
`static int` `EGLKHRFenceSync.eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, int attribute)` Returns the value of the sync object attribute.
`static int` `EGLKHRReusableSync.eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, int attribute)` Returns the value of the sync object attribute.
`static int` `EGLNVSync.eglGetSyncAttribNV(EGLSyncNV sync, int attribute)` Returns the value of the sync object attribute.
`static void` `EGL.eglQueryContext(EGLDisplay dpy, EGLContext ctx, int attribute, java.nio.IntBuffer value)` Returns the value of the specified EGL context attribute in the value parameter.
`static void` `EGL.eglQuerySurface(EGLDisplay dpy, EGLSurface surface, int attribute, java.nio.IntBuffer value)` Returns the value of the specified EGL surface attribute in the value parameter.
`static void` `EGL.eglReleaseCurrent(EGLDisplay dpy)` Releases the current context without assigning a new one.
`static void` `EGLKHRReusableSync.eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, int mode)` Signals or unsignals the sync object by changing its status to the specified mode.
`static void` `EGLNVSync.eglSignalSyncNV(EGLSyncNV sync, int mode)` Signals or unsignals the sync object by changing its status to the specified mode.
`int` `EGLConfig.getAttribute(int attribute)` Returns the value of the specified EGL config attribute.
`int` `EGLSurface.getAttribute(int attribute)` Returns the value of the specified EGL surface attribute.
`EGLConfig` `PixelFormat.getBestMatch(EGLConfig[] configs)` Returns the EGL config from the specified array that best matches this PixelFormat.
`static void` `GLContext.loadOpenGLLibrary()` If the OpenGL reference count is 0, the library is loaded.
`void` `EGLContext.makeCurrent(EGLSurface surface)`
`void` `EGLContext.makeCurrent(EGLSurface draw, EGLSurface read)`
`void` `PixelFormat.setSurfaceAttribs(EGLSurface surface)` Applies this PixelFormat's surface attributes to the specified EGL surface.
`void` `EGLDisplay.setSwapInterval(int interval)`
`void` `EGLSurface.swapBuffers()`
`void` `EGLDisplay.terminate()` Release the resources associated with this EGL display.
`static void` `GLContext.useContext(java.lang.Object context)` Makes a GL context the current LWJGL context by loading GL function pointers.

Uses of LWJGLException in org.lwjgl.util

Methods in org.lwjgl.util that throw LWJGLException
`static DisplayMode[]` `Display.getAvailableDisplayModes(int minWidth, int minHeight, int maxWidth, int maxHeight, int minBPP, int maxBPP, int minFreq, int maxFreq)` Determine the available display modes that match the specified minimum and maximum criteria.

Copyright © 2002-2009 lwjgl.org. All Rights Reserved.