Uses of Class
org.lwjgl.LWJGLException
-
Packages that use LWJGLException Package Description 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 Modifier and Type Method Description static voidControllers. create()Initialise the controllers collectionstatic voidKeyboard. create()"Create" the keyboard.static voidMouse. create()"Create" the mouse.static CursorMouse. setNativeCursor(Cursor cursor)Binds a native cursor.Constructors in org.lwjgl.input that throw LWJGLException Constructor Description Cursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, 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 Modifier and Type Method Description static voidAL. create()Creates an OpenAL instance.static voidAL. create(String deviceArguments, int contextFrequency, int contextRefresh, boolean contextSynchronized)Creates an OpenAL instance.static voidAL. create(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 Modifier and Type Method Description static voidCL. create()static CLContextCLContext. create(CLPlatform platform, List<CLDevice> devices, IntBuffer errcode_ret)Creates a new CLContext.static CLContextCLContext. create(CLPlatform platform, List<CLDevice> devices, CLContextCallback pfn_notify, IntBuffer errcode_ret)Creates a new CLContext.static CLContextCLContext. create(CLPlatform platform, List<CLDevice> devices, CLContextCallback pfn_notify, Drawable share_drawable, IntBuffer errcode_ret)Creates a new CLContext.static CLContextCLContext. createFromType(CLPlatform platform, long device_type, IntBuffer errcode_ret)Creates a new CLContext.static CLContextCLContext. createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, IntBuffer errcode_ret)Creates a new CLContext.static CLContextCLContext. createFromType(CLPlatform platform, long device_type, CLContextCallback pfn_notify, Drawable share_drawable, IntBuffer errcode_ret)Creates a new CLContext. -
Uses of LWJGLException in org.lwjgl.opengl
Methods in org.lwjgl.opengl with parameters of type LWJGLException Modifier and Type Method Description protected voidAWTGLCanvas. exceptionOccurred(LWJGLException exception)This method will be called if an unhandled LWJGLException occurs in paint().Methods in org.lwjgl.opengl that throw LWJGLException Modifier and Type Method Description static voidDisplay. create()Create the OpenGL context.static voidDisplay. create(PixelFormat pixel_format)Create the OpenGL context with the given minimum parameters.static voidDisplay. create(PixelFormatLWJGL pixel_format)Create the OpenGL ES context with the given minimum parameters.static voidDisplay. create(PixelFormatLWJGL pixel_format, Drawable shared_drawable)Create the OpenGL ES context with the given minimum parameters.static voidDisplay. create(PixelFormatLWJGL pixel_format, Drawable shared_drawable, ContextAttribs attribs)Create the OpenGL ES context with the given minimum parameters.static voidDisplay. create(PixelFormatLWJGL pixel_format, ContextAttribs attribs)Create the OpenGL ES context with the given minimum parameters.static voidDisplay. create(PixelFormat pixel_format, ContextAttribs attribs)Create the OpenGL context with the given minimum parameters.static voidDisplay. create(PixelFormat pixel_format, Drawable shared_drawable)Create the OpenGL context with the given minimum parameters.static voidDisplay. create(PixelFormat pixel_format, Drawable shared_drawable, ContextAttribs attribs)Create the OpenGL context with the given minimum parameters.ObjectInputImplementation. createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays)Native cursor handlesvoidInputImplementation. createKeyboard()Method to create the keyboardvoidInputImplementation. createMouse()Method to create the mouse.org.lwjgl.opengl.ContextGLAWTGLCanvas. 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.booleanAWTGLCanvas. isCurrent()static booleanDisplay. isCurrent()Returns true if the Display's context is current in the current thread.booleanDrawable. isCurrent()Returns true if the Drawable's context is current in the current thread.static voidGLContext. loadOpenGLLibrary()If the OpenGL reference count is 0, the library is loaded.voidAWTGLCanvas. makeCurrent()Make the canvas' context current.static voidDisplay. makeCurrent()Make the Display the current rendering context for GL calls.voidDrawable. makeCurrent()Makes the Drawable's context current in the current thread.voidAWTGLCanvas. releaseContext()static voidDisplay. releaseContext()Release the Display context.voidDrawable. releaseContext()If the Drawable's context is current in the current thread, no context will be current after a call to this method.voidAWTGLCanvas. setCLSharingProperties(PointerBuffer properties)voidDrawable. setCLSharingProperties(PointerBuffer properties)Sets the appropriate khr_gl_sharing properties in the targetPointerBuffer, so that if it is used in aclCreateContext(FromType)call, the created CL context will be sharing objects with thisDrawable's GL context.static voidDisplay. setDisplayConfiguration(float gamma, float brightness, float contrast)Set the display configuration to the specified gamma, brightness and contrast.static voidDisplay. setDisplayMode(DisplayMode mode)Set the current display mode.static voidDisplay. setDisplayModeAndFullscreen(DisplayMode mode)Set the mode of the context.static voidDisplay. setFullscreen(boolean fullscreen)Set the fullscreen mode of the context.voidInputImplementation. setNativeCursor(Object handle)Method to set the native cursorstatic voidDisplay. setParent(Canvas parent)Set the parent of the Display.voidAWTGLCanvas. setPixelFormat(PixelFormatLWJGL pf)voidAWTGLCanvas. setPixelFormat(PixelFormatLWJGL pf, ContextAttribs attribs)voidAWTGLCanvas. swapBuffers()Swap the canvas' bufferstatic voidDisplay. swapBuffers()Swap the display buffers.static voidGLContext. useContext(Object context)Makes a GL context the current LWJGL context by loading GL function pointers.static voidGLContext. useContext(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 Constructor Description AWTGLCanvas()Constructor using the default PixelFormat.AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format)Create an AWTGLCanvas with the requested PixelFormat on the default GraphicsDevice.AWTGLCanvas(GraphicsDevice device, PixelFormat pixel_format, Drawable drawable)Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.AWTGLCanvas(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 Modifier and Type Method Description EGLConfig[]EGLDisplay. chooseConfig(IntBuffer attrib_list, EGLConfig[] configs, IntBuffer num_config)Returns the available EGL configs on this display that satisfy the specified list of attributes.EGLContextEGLDisplay. createContext(EGLConfig config, EGLContext shareContext, IntBuffer attrib_list)EGLSurfaceEGLDisplay. createWindowSurface(EGLConfig config, long window, IntBuffer attrib_list)Creates an on-screen rendering surface on this EGL display.voidEGLContext. destroy()voidEGLSurface. destroy()Destroys this EGL surface.static intEGLKHRFenceSync. 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 intEGLKHRReusableSync. 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 intEGLNVSync. 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 EGLSyncNVEGLNVSync. eglCreateFenceSyncNV(EGLDisplay dpy, int condition, IntBuffer attrib_list)Creates a fence sync object for the specified EGL display and returns a handle to the new object.static EGLSyncKHREGLKHRFenceSync. eglCreateSyncKHR(EGLDisplay dpy, int type, IntBuffer attrib_list)Creates a fence sync object for the specified EGL display and returns a handle to the new object.static EGLSyncKHREGLKHRReusableSync. eglCreateSyncKHR(EGLDisplay dpy, int type, IntBuffer attrib_list)Creates a fence sync object for the specified EGL display and returns a handle to the new object.static voidEGLKHRFenceSync. eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)Destroys an existing sync object.static voidEGLKHRReusableSync. eglDestroySyncKHR(EGLDisplay dpy, EGLSyncKHR sync)Destroys an existing sync object.static voidEGLNVSync. eglDestroySyncNV(EGLSyncNV sync)Destroys an existing sync object.static voidEGLNVSync. 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 EGLContextEGL. eglGetCurrentContext()Returns the current EGL context for the current rendering API.static EGLDisplayEGL. eglGetCurrentDisplay()Returns the EGL display associated with the current context.static EGLSurfaceEGL. eglGetCurrentSurface(int readdraw)Returns the EGL surfaces used for rendering by the current context.static EGLDisplayEGL. eglGetDisplay(long display_id)Obtains an EGL display from the specified native display and initializes it.static intEGLKHRFenceSync. eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, int attribute)Returns the value of the sync object attribute.static intEGLKHRReusableSync. eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, int attribute)Returns the value of the sync object attribute.static intEGLNVSync. eglGetSyncAttribNV(EGLSyncNV sync, int attribute)Returns the value of the sync object attribute.static voidEGL. eglQueryContext(EGLDisplay dpy, EGLContext ctx, int attribute, IntBuffer value)Returns the value of the specified EGL context attribute in the value parameter.static voidEGL. eglQuerySurface(EGLDisplay dpy, EGLSurface surface, int attribute, IntBuffer value)Returns the value of the specified EGL surface attribute in the value parameter.static voidEGL. eglReleaseCurrent(EGLDisplay dpy)Releases the current context without assigning a new one.static voidEGLKHRReusableSync. eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, int mode)Signals or unsignals the sync object by changing its status to the specified mode.static voidEGLNVSync. eglSignalSyncNV(EGLSyncNV sync, int mode)Signals or unsignals the sync object by changing its status to the specified mode.intEGLConfig. getAttribute(int attribute)Returns the value of the specified EGL config attribute.intEGLSurface. getAttribute(int attribute)Returns the value of the specified EGL surface attribute.EGLConfigPixelFormat. getBestMatch(EGLConfig[] configs)Returns the EGL config from the specified array that best matches this PixelFormat.static voidGLContext. loadOpenGLLibrary()If the OpenGL reference count is 0, the library is loaded.voidEGLContext. makeCurrent(EGLSurface surface)voidEGLContext. makeCurrent(EGLSurface draw, EGLSurface read)voidPixelFormat. setSurfaceAttribs(EGLSurface surface)Applies this PixelFormat's surface attributes to the specified EGL surface.voidEGLDisplay. setSwapInterval(int interval)voidEGLSurface. swapBuffers()voidEGLDisplay. terminate()Release the resources associated with this EGL display.static voidGLContext. useContext(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 Modifier and Type Method Description 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.
-