| Modifier and Type | Field and Description |
|---|---|
| pack-priv float | |
| pack-priv int | |
| pack-priv long | |
| pack-priv int | |
| pack-priv long | |
| pack-priv GLVersion | |
| pack-priv long | |
| pack-priv long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| 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 Graphics. | |
| public Graphics. | |
| public float | |
| public float | |
| public float | |
| public float | |
| public Graphics. | |
| public int | |
| public int | |
| public int | |
| public int | |
| public long | |
| public Graphics. | |
| public int | |
| public 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 | 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. |
| 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. |
| public boolean | supportsDisplayModeChange()
Implements com. Whether the given backend supports a display mode change via calling |
| public boolean | |
| public void |
| deltaTime | back to summary |
|---|---|
| pack-priv float deltaTime | |
| fps | back to summary |
|---|---|
| pack-priv int fps | |
| frameId | back to summary |
|---|---|
| pack-priv long frameId | |
| frames | back to summary |
|---|---|
| pack-priv int frames | |
| frameStart | back to summary |
|---|---|
| pack-priv long frameStart | |
| glVersion | back to summary |
|---|---|
| pack-priv GLVersion glVersion | |
| lastTime | back to summary |
|---|---|
| pack-priv long lastTime | |
| targetRenderInterval | back to summary |
|---|---|
| pack-priv long targetRenderInterval | |
| MockGraphics | back to summary |
|---|---|
| public MockGraphics() | |
| 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.
| |
| 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.
| |
| getTargetRenderInterval | back to summary |
|---|---|
| public long getTargetRenderInterval() | |
| getType | back to summary |
|---|---|
| public Graphics. Implements com.
| |
| getWidth | back to summary |
|---|---|
| public int getWidth() Implements com.
| |
| incrementFrameId | back to summary |
|---|---|
| public void incrementFrameId() | |
| 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.
| |
| 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. Use 0 to never sleep; negative to not call the render method at all. Default is 60.
| |
| 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.
| |
| 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.
| |
| updateTime | back to summary |
|---|---|
| public void updateTime() | |