Package | Description |
---|---|
org.lwjgl.input | |
org.lwjgl.openal | |
org.lwjgl.opencl | |
org.lwjgl.opengl | |
org.lwjgl.util |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
Cursor(int width,
int height,
int xHotspot,
int yHotspot,
int numImages,
IntBuffer images,
IntBuffer delays)
Constructs a new Cursor, with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
static void |
AL.create()
Creates an OpenAL instance.
|
static void |
AL.create(String deviceArguments,
int contextFrequency,
int contextRefresh,
boolean contextSynchronized)
Creates an OpenAL instance.
|
static void |
AL.create(String deviceArguments,
int contextFrequency,
int contextRefresh,
boolean contextSynchronized,
boolean openDevice) |
Modifier and Type | Method and Description |
---|---|
static void |
CL.create() |
static CLContext |
CLContext.create(CLPlatform platform,
List<CLDevice> devices,
CLContextCallback pfn_notify,
Drawable share_drawable,
IntBuffer errcode_ret)
Creates a new CLContext.
|
static CLContext |
CLContext.create(CLPlatform platform,
List<CLDevice> devices,
CLContextCallback pfn_notify,
IntBuffer errcode_ret)
Creates a new CLContext.
|
static CLContext |
CLContext.create(CLPlatform platform,
List<CLDevice> devices,
IntBuffer errcode_ret)
Creates a new CLContext.
|
static CLContext |
CLContext.createFromType(CLPlatform platform,
long device_type,
CLContextCallback pfn_notify,
Drawable share_drawable,
IntBuffer errcode_ret)
Creates a new CLContext.
|
static CLContext |
CLContext.createFromType(CLPlatform platform,
long device_type,
CLContextCallback pfn_notify,
IntBuffer errcode_ret)
Creates a new CLContext.
|
static CLContext |
CLContext.createFromType(CLPlatform platform,
long device_type,
IntBuffer errcode_ret)
Creates a new CLContext.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AWTGLCanvas.exceptionOccurred(LWJGLException exception)
This method will be called if an unhandled LWJGLException occurs in paint().
|
Modifier and Type | Method and Description |
---|---|
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.
|
Object |
InputImplementation.createCursor(int width,
int height,
int xHotspot,
int yHotspot,
int numImages,
IntBuffer images,
IntBuffer delays)
Native cursor handles
|
void |
InputImplementation.createKeyboard()
Method to create the keyboard
|
void |
InputImplementation.createMouse()
Method to create the mouse.
|
org.lwjgl.opengl.Context |
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(Object handle)
Method to set the native cursor
|
static void |
Display.setParent(Canvas parent)
Set the parent of the Display.
|
void |
AWTGLCanvas.swapBuffers()
Swap the canvas' buffer
|
static void |
Display.swapBuffers()
Swap the display buffers.
|
static void |
GLContext.useContext(Object context)
Makes a GL context the current LWJGL context by loading GL function pointers.
|
static void |
GLContext.useContext(Object context,
boolean forwardCompatible)
Makes a GL context the current LWJGL context by loading GL function pointers.
|
Constructor and 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) |
Modifier and Type | Method and 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.
|
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.