| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private volatile int | |
| private volatile int | |
| private Graphics. | |
| private float | |
| private Graphics. | |
| private int | |
| private long | |
| private long | |
| private int | |
| pack-priv GL20 | |
| private GL30 | |
| private GL31 | |
| private GL32 | |
| private GLVersion | |
| private volatile boolean | |
| private long | |
| private volatile int | |
| private volatile int | |
| private boolean | |
| pack-priv GLFWFramebufferSizeCallback | |
| pack-priv IntBuffer | |
| pack-priv IntBuffer | |
| pack-priv final Lwjgl3Window | |
| private int | |
| private int | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements com. Releases all resources of this object. |
| public void | |
| public int | |
| public int | |
| public Graphics. | |
| public float | |
| public Graphics. | |
| public Graphics. | |
| public Graphics. | |
| public Graphics. | |
| public long | |
| public int | |
| public GL20 | |
| public GL30 | |
| public GL31 | |
| public GL32 | |
| public GLVersion | |
| public int | |
| public int | |
| public int | |
| public Graphics. | |
| public Graphics. | |
| public float | |
| public float | |
| public float | |
| public float | |
| public Graphics. | |
| public int | |
| public int | |
| public int | |
| public int | |
| public Graphics. | |
| public int | |
| public Lwjgl3Window | |
| private void | |
| public boolean | |
| public boolean | isFullscreen()
Implements com. Whether the app is fullscreen or not |
| public boolean | isGL30Available()
Implements com. Returns whether OpenGL ES 3.0 is available. |
| public boolean | isGL31Available()
Implements com. Returns whether OpenGL ES 3.1 is available. |
| public boolean | isGL32Available()
Implements com. Returns whether OpenGL ES 3.2 is available. |
| public Cursor | newCursor(Pixmap pixmap, int xHotspot, int yHotspot)
Implements com. Create a new cursor represented by the |
| public void | requestRendering()
Implements com. Requests a new frame to be rendered if the rendering mode is non-continuous. |
| public void | |
| public void | setContinuousRendering(boolean isContinuous)
Implements com. Sets whether to render continuously. |
| public void | setCursor(Cursor cursor)
Implements com. Only viable on the lwjgl-backend and on the gwt-backend. |
| public void | setForegroundFPS(int
fps fps)Implements com. Sets the target framerate for the application, when using continuous rendering. |
| public boolean | setFullscreenMode(Graphics.
Implements com. Sets the window to full-screen mode. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setResizable(boolean resizable)
Implements com. Sets whether or not the window should be resizable. |
| public void | setSystemCursor(Cursor.
Implements com. Sets one of the predefined |
| public void | |
| public void | setUndecorated(boolean undecorated)
Implements com. Sets the window decoration as enabled or disabled. |
| public void | |
| public boolean | setWindowedMode(int width, int height)
Implements com. Sets the window to windowed mode. |
| private void | |
| public boolean | |
| public boolean | supportsDisplayModeChange()
Implements com. Whether the given backend supports a display mode change via calling |
| public boolean | |
| pack-priv void | |
| pack-priv void |
| backBufferHeight | back to summary |
|---|---|
| private volatile int backBufferHeight | |
| backBufferWidth | back to summary |
|---|---|
| private volatile int backBufferWidth | |
| bufferFormat | back to summary |
|---|---|
| private Graphics. | |
| deltaTime | back to summary |
|---|---|
| private float deltaTime | |
| displayModeBeforeFullscreen | back to summary |
|---|---|
| private Graphics. | |
| fps | back to summary |
|---|---|
| private int fps | |
| frameCounterStart | back to summary |
|---|---|
| private long frameCounterStart | |
| frameId | back to summary |
|---|---|
| private long frameId | |
| frames | back to summary |
|---|---|
| private int frames | |
| gl20 | back to summary |
|---|---|
| pack-priv GL20 gl20 | |
| gl30 | back to summary |
|---|---|
| private GL30 gl30 | |
| gl31 | back to summary |
|---|---|
| private GL31 gl31 | |
| gl32 | back to summary |
|---|---|
| private GL32 gl32 | |
| glVersion | back to summary |
|---|---|
| private GLVersion glVersion | |
| isContinuous | back to summary |
|---|---|
| private volatile boolean isContinuous | |
| lastFrameTime | back to summary |
|---|---|
| private long lastFrameTime | |
| logicalHeight | back to summary |
|---|---|
| private volatile int logicalHeight | |
| logicalWidth | back to summary |
|---|---|
| private volatile int logicalWidth | |
| resetDeltaTime | back to summary |
|---|---|
| private boolean resetDeltaTime | |
| resizeCallback | back to summary |
|---|---|
| pack-priv GLFWFramebufferSizeCallback resizeCallback | |
| tmpBuffer | back to summary |
|---|---|
| pack-priv IntBuffer tmpBuffer | |
| tmpBuffer2 | back to summary |
|---|---|
| pack-priv IntBuffer tmpBuffer2 | |
| window | back to summary |
|---|---|
| pack-priv final Lwjgl3Window window | |
| windowHeightBeforeFullscreen | back to summary |
|---|---|
| private int windowHeightBeforeFullscreen | |
| windowPosXBeforeFullscreen | back to summary |
|---|---|
| private int windowPosXBeforeFullscreen | |
| windowPosYBeforeFullscreen | back to summary |
|---|---|
| private int windowPosYBeforeFullscreen | |
| windowWidthBeforeFullscreen | back to summary |
|---|---|
| private int windowWidthBeforeFullscreen | |
| Lwjgl3Graphics | back to summary |
|---|---|
| public Lwjgl3Graphics(Lwjgl3Window window) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements com. Doc from com. Releases all resources of this object.
| |
| enableCubeMapSeamless | back to summary |
|---|---|
| public void enableCubeMapSeamless(boolean enable) Enable or disable cubemap seamless feature. Default is true if supported. Should only be called if this feature is
supported. (see | |
| getBackBufferHeight | back to summary |
|---|---|
| public int getBackBufferHeight() Implements com.
| |
| getBackBufferWidth | back to summary |
|---|---|
| public int getBackBufferWidth() Implements com.
| |
| getBufferFormat | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getDeltaTime | back to summary |
|---|---|
| public float getDeltaTime() Implements com.
| |
| getDisplayMode | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getDisplayMode | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getDisplayModes | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getDisplayModes | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getFrameId | back to summary |
|---|---|
| public long getFrameId() Implements com. Doc from com. Returns the id of the current frame. The general contract of this method is that the id is incremented only when the
application is in the running state right before calling the
| |
| getFramesPerSecond | back to summary |
|---|---|
| public int getFramesPerSecond() Implements com.
| |
| getGL20 | back to summary |
|---|---|
| public GL20 getGL20() Implements com.
| |
| getGL30 | back to summary |
|---|---|
| public GL30 getGL30() Implements com.
| |
| getGL31 | back to summary |
|---|---|
| public GL31 getGL31() Implements com.
| |
| getGL32 | back to summary |
|---|---|
| public GL32 getGL32() Implements com.
| |
| getGLVersion | back to summary |
|---|---|
| public GLVersion getGLVersion() Implements com.
| |
| getHeight | back to summary |
|---|---|
| public int getHeight() Implements com.
| |
| getLogicalHeight | back to summary |
|---|---|
| public int getLogicalHeight() | |
| getLogicalWidth | back to summary |
|---|---|
| public int getLogicalWidth() | |
| getMonitor | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getMonitors | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getPpcX | back to summary |
|---|---|
| public float getPpcX() Implements com.
| |
| getPpcY | back to summary |
|---|---|
| public float getPpcY() Implements com.
| |
| getPpiX | back to summary |
|---|---|
| public float getPpiX() Implements com.
| |
| getPpiY | back to summary |
|---|---|
| public float getPpiY() Implements com.
| |
| getPrimaryMonitor | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getSafeInsetBottom | back to summary |
|---|---|
| public int getSafeInsetBottom() Implements com.
| |
| getSafeInsetLeft | back to summary |
|---|---|
| public int getSafeInsetLeft() Implements com.
| |
| getSafeInsetRight | back to summary |
|---|---|
| public int getSafeInsetRight() Implements com.
| |
| getSafeInsetTop | back to summary |
|---|---|
| public int getSafeInsetTop() Implements com.
| |
| getType | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Implements com.
| |
| getWindow | back to summary |
|---|---|
| public Lwjgl3Window getWindow() | |
| initiateGL | back to summary |
|---|---|
| private void initiateGL() | |
| isContinuousRendering | back to summary |
|---|---|
| public boolean isContinuousRendering() Implements com.
| |
| isFullscreen | back to summary |
|---|---|
| public boolean isFullscreen() Implements com. Doc from com. Whether the app is fullscreen or not
| |
| isGL30Available | back to summary |
|---|---|
| public boolean isGL30Available() Implements com. Doc from com. Returns whether OpenGL ES 3.0 is available. If it is you can get an instance of
| |
| isGL31Available | back to summary |
|---|---|
| public boolean isGL31Available() Implements com. Doc from com. Returns whether OpenGL ES 3.1 is available. If it is you can get an instance of
| |
| isGL32Available | back to summary |
|---|---|
| public boolean isGL32Available() Implements com. Doc from com. Returns whether OpenGL ES 3.2 is available. If it is you can get an instance of
| |
| newCursor | back to summary |
|---|---|
| public Cursor newCursor(Pixmap pixmap, int xHotspot, int yHotspot) Implements com. Doc from com. Create a new cursor represented by the
| |
| requestRendering | back to summary |
|---|---|
| public void requestRendering() Implements com. Doc from com. Requests a new frame to be rendered if the rendering mode is non-continuous. This method can be called from any thread.
| |
| resetDeltaTime | back to summary |
|---|---|
| public void resetDeltaTime() | |
| setContinuousRendering | back to summary |
|---|---|
| public void setContinuousRendering(boolean isContinuous) Implements com. Doc from com. Sets whether to render continuously. In case rendering is performed non-continuously, the following events will trigger a redraw:
ApplicationListener. This method can be called from any
thread.
| |
| setCursor | back to summary |
|---|---|
| public void setCursor(Cursor cursor) Implements com. Doc from com. Only viable on the lwjgl-backend and on the gwt-backend. Browsers that support cursor:url() and support the png format (the
pixmap is converted to a data-url of type image/png) should also support custom cursors. Will set the mouse cursor image to
the image represented by the
| |
| setForegroundFPS | back to summary |
|---|---|
| public void setForegroundFPS(int fps) Implements com. Sets the target framerate for the application, when using continuous rendering. Must be positive. The cpu sleeps as needed. Use 0 to never sleep. If there are multiple windows, the value for the first window created is used for all. Default is 0.
| |
| setFullscreenMode | back to summary |
|---|---|
| public boolean setFullscreenMode(Graphics. Implements com. Doc from com. Sets the window to full-screen mode.
| |
| setGL20 | back to summary |
|---|---|
| public void setGL20(GL20 gl20) Implements com. Doc from com. Set the GL20 instance
| |
| setGL30 | back to summary |
|---|---|
| public void setGL30(GL30 gl30) Implements com. Doc from com. Set the GL30 instance
| |
| setGL31 | back to summary |
|---|---|
| public void setGL31(GL31 gl31) Implements com. Doc from com. Set the GL31 instance
| |
| setGL32 | back to summary |
|---|---|
| public void setGL32(GL32 gl32) Implements com. Doc from com. Set the GL32 instance
| |
| setResizable | back to summary |
|---|---|
| public void setResizable(boolean resizable) Implements com. Doc from com. Sets whether or not the window should be resizable. Ignored on Android. Note that immediate behavior of this method may vary depending on the implementation. It may be necessary for the window to be recreated in order for the changes to take effect. Consult the documentation for the backend in use for more information. Supported on all GDX desktop backends.
| |
| setSystemCursor | back to summary |
|---|---|
| public void setSystemCursor(Cursor. Implements com. Doc from com. Sets one of the predefined
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) Implements com. Doc from com. Sets the title of the window. Ignored on Android.
| |
| setUndecorated | back to summary |
|---|---|
| public void setUndecorated(boolean undecorated) Implements com. Doc from com. Sets the window decoration as enabled or disabled. On Android, this will enable/disable the menu bar. Note that immediate behavior of this method may vary depending on the implementation. It may be necessary for the window to be recreated in order for the changes to take effect. Consult the documentation for the backend in use for more information. Supported on all GDX desktop backends and on Android (to disable the menu bar).
| |
| setVSync | back to summary |
|---|---|
| public void setVSync(boolean vsync) Implements com. Doc from com. Enable/Disable vsynching. This is a best-effort attempt which might not work on all platforms.
| |
| setWindowedMode | back to summary |
|---|---|
| public boolean setWindowedMode(int width, int height) Implements com. Doc from com. Sets the window to windowed mode.
| |
| storeCurrentWindowPositionAndDisplayMode | back to summary |
|---|---|
| private void storeCurrentWindowPositionAndDisplayMode() | |
| supportsCubeMapSeamless | back to summary |
|---|---|
public boolean supportsCubeMapSeamless()
| |
| supportsDisplayModeChange | back to summary |
|---|---|
| public boolean supportsDisplayModeChange() Implements com. Doc from com. Whether the given backend supports a display mode change via calling
| |
| supportsExtension | back to summary |
|---|---|
| public boolean supportsExtension(String extension) Implements com.
| |
| update | back to summary |
|---|---|
| pack-priv void update() | |
| updateFramebufferInfo | back to summary |
|---|---|
| pack-priv void updateFramebufferInfo() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long |
| monitorHandle | back to summary |
|---|---|
| pack-priv final long monitorHandle | |
| Lwjgl3DisplayMode | back to summary |
|---|---|
| pack-priv Lwjgl3DisplayMode(long monitor, int width, int height, int refreshRate, int bitsPerPixel) | |
| getMonitor | back to summary |
|---|---|
| public long getMonitor() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long |
| monitorHandle | back to summary |
|---|---|
| pack-priv final long monitorHandle | |
| Lwjgl3Monitor | back to summary |
|---|---|
| pack-priv Lwjgl3Monitor(long monitor, int virtualX, int virtualY, String name) | |
| getMonitorHandle | back to summary |
|---|---|
| public long getMonitorHandle() | |