| Modifier and Type | Field and Description |
|---|---|
| private Canvas | |
| private boolean | |
| private ByteBuffer | |
| private static final IntBuffer | |
| private long | |
| private boolean | |
| private static final int | |
| private MacOSXNativeKeyboard | |
| private KeyboardEventQueue | |
| private MacOSXNativeMouse | |
| private MacOSXMouseEventQueue | |
| private boolean | |
| private boolean | |
| private static final int | |
| private DisplayMode | |
| private Robot | |
| private float | |
| private boolean | |
| private boolean | |
| private ByteBuffer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | bindTexImageToPbuffer(PeerInfo handle, int buffer)
Implements org. |
| public Object | createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays)
Implements org. |
| public Object | |
| public void | createKeyboard()
Implements org. |
| public void | createMouse()
Implements org. |
| public PeerInfo | createPbuffer(int width, int height, PixelFormat pixel_format, ContextAttribs attribs, IntBuffer pixelFormatCaps, IntBuffer pBufferAttribs)
Implements org. |
| public PeerInfo | createPeerInfo(PixelFormat pixel_format, ContextAttribs attribs)
Implements org. |
| public void | createWindow(final DrawableLWJGL drawable, DisplayMode mode, Canvas parent, int x, int y)
Implements org. |
| public void | |
| public void | destroyKeyboard()
Implements org. |
| public void | destroyMouse()
Implements org. |
| public void | |
| public void | |
| private static boolean | |
| public String | getAdapter()
Implements org. |
| public DisplayMode[] | getAvailableDisplayModes()
Implements org. |
| public int | getButtonCount()
Implements org. |
| public Canvas | |
| private static long | |
| public int | getGammaRampLength()
Implements org. |
| public int | |
| public int | getMaxCursorSize()
Implements org. |
| public int | getMinCursorSize()
Implements org. |
| public int | getNativeCursorCapabilities()
Implements org. |
| public int | |
| public float | |
| public String | |
| public int | |
| public int | |
| public int | |
| public void | |
| public boolean | |
| public DisplayMode | init()
Implements org. |
| public boolean | |
| public boolean | isBufferLost(PeerInfo handle)
Implements org. |
| public boolean | |
| public boolean | |
| public boolean | |
| private static boolean | |
| public boolean | |
| public void | |
| private native ByteBuffer | nCreateWindow(int x, int y, int width, int height, boolean fullscreen, boolean undecorated, boolean resizable, boolean parented, boolean enableFullscreenModeAPI, boolean enableHighDPI, ByteBuffer peer_info_handle, ByteBuffer window_handle)
|
| public native void | |
| public native void | |
| private native Object | |
| private native void | |
| private native int | |
| private native int | |
| private native int | |
| private native int | |
| private native boolean | |
| private native boolean | |
| private native boolean | |
| private native void | |
| private native void | |
| private native void | |
| private native boolean | |
| public void | pollKeyboard(ByteBuffer
the address of a 256-byte buffer to place
key states in. keyDownBuffer)Implements org. |
| public void | pollMouse(IntBuffer coord_buffer, ByteBuffer buttons_buffer)
Implements org. |
| public void | readKeyboard(ByteBuffer buffer)
Implements org. |
| public void | readMouse(ByteBuffer buffer)
Implements org. |
| public void | releaseTexImageFromPbuffer(PeerInfo handle, int buffer)
Implements org. |
| public void | resetDisplayMode()
Implements org. |
| public void | reshape(int x, int y, int width, int height)
Implements org. |
| private native void | |
| public void | setCursorPosition(int x, int y)
Implements org. |
| public native void | setGammaRamp(FloatBuffer gammaRamp)
Implements org. |
| public int | Returns: number of icons used.Array of icons in RGBA mode icons)Implements org. |
| public void | setNativeCursor(Object handle)
Implements org. |
| public void | setPbufferAttrib(PeerInfo handle, int attrib, int value)
Implements org. |
| public void | setResizable(boolean
set to true to make the Display window resizable;
false to disable resizing on the Display window. resizable)Implements org. |
| public void | |
| public void | setTitle(String title)
Implements org. |
| public void | |
| public void | update()
Implements org. |
| public boolean |
| canvas | back to summary |
|---|---|
| private Canvas canvas | |
| close_requested | back to summary |
|---|---|
| private boolean close_requested | |
| context | back to summary |
|---|---|
| private ByteBuffer context | |
| current_viewport | back to summary |
|---|---|
| private static final IntBuffer current_viewport | |
| currentNativeCursor | back to summary |
|---|---|
| private long currentNativeCursor | |
| enableHighDPI | back to summary |
|---|---|
| private boolean enableHighDPI | |
| GAMMA_LENGTH | back to summary |
|---|---|
| private static final int GAMMA_LENGTH | |
| keyboard | back to summary |
|---|---|
| private MacOSXNativeKeyboard keyboard | |
| keyboard_queue | back to summary |
|---|---|
| private KeyboardEventQueue keyboard_queue | |
| mouse | back to summary |
|---|---|
| private MacOSXNativeMouse mouse | |
| mouse_queue | back to summary |
|---|---|
| private MacOSXMouseEventQueue mouse_queue | |
| mouseInsideWindow | back to summary |
|---|---|
| private boolean mouseInsideWindow | |
| native_mode | back to summary |
|---|---|
| private boolean native_mode | |
| PBUFFER_HANDLE_SIZE | back to summary |
|---|---|
| private static final int PBUFFER_HANDLE_SIZE | |
| requested_mode | back to summary |
|---|---|
| private DisplayMode requested_mode | |
| robot | back to summary |
|---|---|
| private Robot robot | |
| scaleFactor | back to summary |
|---|---|
| private float scaleFactor | |
| skipViewportValue | back to summary |
|---|---|
| private boolean skipViewportValue | |
| updateNativeCursor | back to summary |
|---|---|
| private boolean updateNativeCursor | |
| window | back to summary |
|---|---|
| private ByteBuffer window | |
| MacOSXDisplay | back to summary |
|---|---|
| pack-priv MacOSXDisplay() | |
| addDisplayMode | back to summary |
|---|---|
| public void addDisplayMode(Object modesList, int width, int height, int bitsPerPixel, int refreshRate) | |
| bindTexImageToPbuffer | back to summary |
|---|---|
| public void bindTexImageToPbuffer(PeerInfo handle, int buffer) Implements org. | |
| createCursor | back to summary |
|---|---|
| public Object createCursor(int width, int height, int xHotspot, int yHotspot, int numImages, IntBuffer images, IntBuffer delays) throws LWJGLException Implements org. Native cursor handles | |
| createDisplayMode | back to summary |
|---|---|
| public Object createDisplayMode(int width, int height, int bitsPerPixel, int refreshRate) | |
| createKeyboard | back to summary |
|---|---|
| public void createKeyboard() throws LWJGLException Implements org. Doc from org. Method to create the keyboard | |
| createMouse | back to summary |
|---|---|
| public void createMouse() throws LWJGLException Implements org. Doc from org. Method to create the mouse. | |
| createPbuffer | back to summary |
|---|---|
| public PeerInfo createPbuffer(int width, int height, PixelFormat pixel_format, ContextAttribs attribs, IntBuffer pixelFormatCaps, IntBuffer pBufferAttribs) throws LWJGLException Implements org. Doc from org. Method to create a Pbuffer | |
| createPeerInfo | back to summary |
|---|---|
| public PeerInfo createPeerInfo(PixelFormat pixel_format, ContextAttribs attribs) throws LWJGLException Implements org. Doc from org. Create the native PeerInfo. | |
| createWindow | back to summary |
|---|---|
| public void createWindow(final DrawableLWJGL drawable, DisplayMode mode, Canvas parent, int x, int y) throws LWJGLException Implements org. | |
| destroyCursor | back to summary |
|---|---|
| public void destroyCursor(Object cursor_handle) Implements org. | |
| destroyKeyboard | back to summary |
|---|---|
| public void destroyKeyboard() Implements org. Doc from org. Method to destroy the keyboard | |
| destroyMouse | back to summary |
|---|---|
| public void destroyMouse() Implements org. Doc from org. Method the destroy the mouse | |
| destroyWindow | back to summary |
|---|---|
| public void destroyWindow() Implements org. | |
| doHandleQuit | back to summary |
|---|---|
| public void doHandleQuit() | |
| equals | back to summary |
|---|---|
| private static boolean equals(DisplayMode mode1, DisplayMode mode2) | |
| getAdapter | back to summary |
|---|---|
| public String getAdapter() Implements org. Doc from org. Get the driver adapter string. This is a unique string describing the actual card's hardware, eg. "Geforce2", "PS2", "Radeon9700". If the adapter cannot be determined, this function returns null.
| |
| getAvailableDisplayModes | back to summary |
|---|---|
| public DisplayMode[] getAvailableDisplayModes() throws LWJGLException Implements org. Doc from org. Method for getting displaymodes | |
| getButtonCount | back to summary |
|---|---|
| public int getButtonCount() Implements org. Doc from org. Query of button count | |
| getCanvas | back to summary |
|---|---|
| public Canvas getCanvas() | |
| getCursorHandle | back to summary |
|---|---|
| private static long getCursorHandle(Object cursor_handle) | |
| getGammaRampLength | back to summary |
|---|---|
| public int getGammaRampLength() Implements org. Doc from org. Return the length of the gamma ramp arrays. Returns 0 if gamma settings are unsupported.
| |
| getHeight | back to summary |
|---|---|
| public int getHeight() Implements org.
| |
| getMaxCursorSize | back to summary |
|---|---|
| public int getMaxCursorSize() Implements org. Doc from org. Method returning the maximum cursor size | |
| getMinCursorSize | back to summary |
|---|---|
| public int getMinCursorSize() Implements org. Doc from org. Method returning the minimum cursor size | |
| getNativeCursorCapabilities | back to summary |
|---|---|
| public int getNativeCursorCapabilities() Implements org. Doc from org. Function to determine native cursor support | |
| getPbufferCapabilities | back to summary |
|---|---|
| public int getPbufferCapabilities() Implements org. | |
| getPixelScaleFactor | back to summary |
|---|---|
| public float getPixelScaleFactor() Implements org.
| |
| getVersion | back to summary |
|---|---|
| public String getVersion() Implements org. Doc from org. Get the driver version. This is a vendor/adapter specific version string. If the version cannot be determined, this function returns null.
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Implements org.
| |
| getX | back to summary |
|---|---|
| public int getX() Implements org.
| |
| getY | back to summary |
|---|---|
| public int getY() Implements org.
| |
| grabMouse | back to summary |
|---|---|
| public void grabMouse(boolean grab) Implements org. | |
| hasWheel | back to summary |
|---|---|
| public boolean hasWheel() Implements org. Doc from org. Query of wheel support | |
| init | back to summary |
|---|---|
| public DisplayMode init() throws LWJGLException Implements org. Doc from org. Initialize and return the current display mode. | |
| isActive | back to summary |
|---|---|
| public boolean isActive() Implements org. | |
| isBufferLost | back to summary |
|---|---|
| public boolean isBufferLost(PeerInfo handle) Implements org. Doc from org. Method to test for buffer integrity | |
| isCloseRequested | back to summary |
|---|---|
| public boolean isCloseRequested() Implements org. | |
| isDirty | back to summary |
|---|---|
| public boolean isDirty() Implements org. | |
| isInsideWindow | back to summary |
|---|---|
| public boolean isInsideWindow() Implements org. | |
| isUndecorated | back to summary |
|---|---|
| private static boolean isUndecorated() | |
| isVisible | back to summary |
|---|---|
| public boolean isVisible() Implements org. | |
| mouseInsideWindow | back to summary |
|---|---|
| public void mouseInsideWindow(boolean inside) | |
| nCreateWindow | back to summary |
|---|---|
| private native ByteBuffer nCreateWindow(int x, int y, int width, int height, boolean fullscreen, boolean undecorated, boolean resizable, boolean parented, boolean enableFullscreenModeAPI, boolean enableHighDPI, ByteBuffer peer_info_handle, ByteBuffer window_handle) throws LWJGLException | |
| nDestroyCALayer | back to summary |
|---|---|
| public native void nDestroyCALayer(ByteBuffer peer_info_handle) | |
| nDestroyWindow | back to summary |
|---|---|
| public native void nDestroyWindow(ByteBuffer window_handle) | |
| nGetCurrentDisplayMode | back to summary |
|---|---|
| private native Object nGetCurrentDisplayMode() | |
| nGetDisplayModes | back to summary |
|---|---|
| private native void nGetDisplayModes(Object modesList) | |
| nGetHeight | back to summary |
|---|---|
| private native int nGetHeight(ByteBuffer window_handle) | |
| nGetWidth | back to summary |
|---|---|
| private native int nGetWidth(ByteBuffer window_handle) | |
| nGetX | back to summary |
|---|---|
| private native int nGetX(ByteBuffer window_handle) | |
| nGetY | back to summary |
|---|---|
| private native int nGetY(ByteBuffer window_handle) | |
| nIsFocused | back to summary |
|---|---|
| private native boolean nIsFocused(ByteBuffer window_handle) | |
| nIsMiniaturized | back to summary |
|---|---|
| private native boolean nIsMiniaturized(ByteBuffer window_handle) | |
| nIsNativeMode | back to summary |
|---|---|
| private native boolean nIsNativeMode(ByteBuffer peer_info_handle) | |
| nResizeWindow | back to summary |
|---|---|
| private native void nResizeWindow(ByteBuffer window_handle, int x, int y, int width, int height) | |
| nSetResizable | back to summary |
|---|---|
| private native void nSetResizable(ByteBuffer window_handle, boolean resizable) | |
| nSetTitle | back to summary |
|---|---|
| private native void nSetTitle(ByteBuffer window_handle, ByteBuffer title_buffer) | |
| nWasResized | back to summary |
|---|---|
| private native boolean nWasResized(ByteBuffer window_handle) | |
| pollKeyboard | back to summary |
|---|---|
| public void pollKeyboard(ByteBuffer keyDownBuffer) Implements org. Doc from org. Method to poll the keyboard.
| |
| pollMouse | back to summary |
|---|---|
| public void pollMouse(IntBuffer coord_buffer, ByteBuffer buttons_buffer) Implements org. Doc from org. Method to poll the mouse | |
| readKeyboard | back to summary |
|---|---|
| public void readKeyboard(ByteBuffer buffer) Implements org. Doc from org. Method to read the keyboard buffer | |
| readMouse | back to summary |
|---|---|
| public void readMouse(ByteBuffer buffer) Implements org. Doc from org. Method to read the mouse buffer | |
| releaseTexImageFromPbuffer | back to summary |
|---|---|
| public void releaseTexImageFromPbuffer(PeerInfo handle, int buffer) Implements org. | |
| resetDisplayMode | back to summary |
|---|---|
| public void resetDisplayMode() Implements org. Doc from org. Reset the display mode to whatever it was when LWJGL was initialized. Fails silently. | |
| reshape | back to summary |
|---|---|
| public void reshape(int x, int y, int width, int height) Implements org. | |
| restoreGamma | back to summary |
|---|---|
| private native void restoreGamma() | |
| setCursorPosition | back to summary |
|---|---|
| public void setCursorPosition(int x, int y) Implements org. Doc from org. Method to set the native cursor position | |
| setGammaRamp | back to summary |
|---|---|
| public native void setGammaRamp(FloatBuffer gammaRamp) throws LWJGLException Implements org. Doc from org. Method to set the gamma ramp. | |
| setIcon | back to summary |
|---|---|
| public int setIcon(ByteBuffer[] icons) Implements org. Sets one or more icons for the Display.
| |
| setNativeCursor | back to summary |
|---|---|
| public void setNativeCursor(Object handle) throws LWJGLException Implements org. Doc from org. Method to set the native cursor | |
| setPbufferAttrib | back to summary |
|---|---|
| public void setPbufferAttrib(PeerInfo handle, int attrib, int value) Implements org. | |
| setResizable | back to summary |
|---|---|
| public void setResizable(boolean resizable) Implements org. Doc from org. Enable or disable the Display window to be resized.
| |
| setScaleFactor | back to summary |
|---|---|
| public void setScaleFactor(float scale) | |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Implements org. Doc from org. Implementation of setTitle(). This will read the window's title member and stash it in the native title of the window. | |
| switchDisplayMode | back to summary |
|---|---|
| public void switchDisplayMode(DisplayMode mode) throws LWJGLException Implements org. | |
| update | back to summary |
|---|---|
| public void update() Implements org. Doc from org. Updates the windows internal state. This must be called at least once per video frame to handle window close requests, moves, paints, etc. | |
| wasResized | back to summary |
|---|---|
| public boolean wasResized() Implements org.
| |