| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv PrintStream | |
| pack-priv int | |
| pack-priv boolean | |
| public static PrintStream | |
| pack-priv int | |
| pack-priv int | |
| pack-priv Lwjgl3ApplicationConfiguration. | |
| pack-priv int | |
| pack-priv int | |
| pack-priv HdpiMode | |
| pack-priv int | |
| pack-priv int | maxNetThreads
The maximum number of threads to use for network requests. |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv String | |
| pack-priv Files. | |
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static GridPoint2 | |
| pack-priv static Lwjgl3ApplicationConfiguration | |
| public void | |
| public void | enableGLDebugOutput(boolean enable, PrintStream debugOutputStream)
Enables use of OpenGL debug message callbacks. |
| public static Graphics. | |
| public static Graphics. | getDisplayMode(Graphics.
Returns: the currently active |
| public static Graphics. | |
| public static Graphics. | |
| public static Graphics. | |
| public static Graphics. | |
| pack-priv void | |
| public void | setAudioConfig(int
the maximum number of sources that can be played simultaniously (default 16) simultaneousSources, int the audio device buffer size in samples (default 512) bufferSize, int the audio device buffer count (default 9) bufferCount)Sets the audio device configuration. |
| public void | setBackBufferConfig(int
red bits (default 8) r, int green bits (default 8) g, int blue bits (default 8) b, int alpha bits (default 8) a, int depth bits (default 16) depth, int stencil bits (default 0) stencil, int MSAA samples (default 0) samples)Sets the bit depth of the color, depth and stencil buffer as well as multi-sampling. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setInitialVisible(boolean
whether the window will be visible on creation. (default true) visibility)Overrides com.
|
| public void | |
| public void | setOpenGLEmulation(Lwjgl3ApplicationConfiguration.
which OpenGL ES emulation version to use glVersion,OpenGL ES major version, use 3 as default gles3MajorVersion, int OpenGL ES minor version, use 2 as default gles3MinorVersion)Sets which OpenGL version to use to emulate OpenGL ES. |
| public void | setPauseWhenLostFocus(boolean pauseWhenLostFocus)
Sets whether to pause the application |
| public void | setPauseWhenMinimized(boolean pauseWhenMinimized)
Sets whether to pause the application |
| public void | setPreferencesConfig(String preferencesDirectory, Files.
Sets the directory where |
| public void | setRGBABits(int
red bits (default 8) r, int green bits (default 8) g, int blue bits (default 8) b, int alpha bits (default 8) a)Sets the bit depth of the color buffer. |
| public void | |
| public void | |
| public void | |
| pack-priv static Lwjgl3Graphics. | |
| public static void |
| a | back to summary |
|---|---|
| pack-priv int a | |
| audioDeviceBufferCount | back to summary |
|---|---|
| pack-priv int audioDeviceBufferCount | |
| audioDeviceBufferSize | back to summary |
|---|---|
| pack-priv int audioDeviceBufferSize | |
| audioDeviceSimultaneousSources | back to summary |
|---|---|
| pack-priv int audioDeviceSimultaneousSources | |
| b | back to summary |
|---|---|
| pack-priv int b | |
| debug | back to summary |
|---|---|
| pack-priv boolean debug | |
| debugStream | back to summary |
|---|---|
| pack-priv PrintStream debugStream | |
| depth | back to summary |
|---|---|
| pack-priv int depth | |
| disableAudio | back to summary |
|---|---|
| pack-priv boolean disableAudio | |
| errorStream | back to summary |
|---|---|
| public static PrintStream errorStream | |
| foregroundFPS | back to summary |
|---|---|
| pack-priv int foregroundFPS | |
| g | back to summary |
|---|---|
| pack-priv int g | |
| glEmulation | back to summary |
|---|---|
| pack-priv Lwjgl3ApplicationConfiguration. | |
| gles30ContextMajorVersion | back to summary |
|---|---|
| pack-priv int gles30ContextMajorVersion | |
| gles30ContextMinorVersion | back to summary |
|---|---|
| pack-priv int gles30ContextMinorVersion | |
| hdpiMode | back to summary |
|---|---|
| pack-priv HdpiMode hdpiMode | |
| idleFPS | back to summary |
|---|---|
| pack-priv int idleFPS | |
| maxNetThreads | back to summary |
|---|---|
| pack-priv int maxNetThreads The maximum number of threads to use for network requests. Default is | |
| pauseWhenLostFocus | back to summary |
|---|---|
| pack-priv boolean pauseWhenLostFocus | |
| pauseWhenMinimized | back to summary |
|---|---|
| pack-priv boolean pauseWhenMinimized | |
| preferencesDirectory | back to summary |
|---|---|
| pack-priv String preferencesDirectory | |
| preferencesFileType | back to summary |
|---|---|
| pack-priv Files. | |
| r | back to summary |
|---|---|
| pack-priv int r | |
| samples | back to summary |
|---|---|
| pack-priv int samples | |
| stencil | back to summary |
|---|---|
| pack-priv int stencil | |
| transparentFramebuffer | back to summary |
|---|---|
| pack-priv boolean transparentFramebuffer | |
| Lwjgl3ApplicationConfiguration | back to summary |
|---|---|
| public Lwjgl3ApplicationConfiguration() | |
| calculateCenteredWindowPosition | back to summary |
|---|---|
| pack-priv static GridPoint2 calculateCenteredWindowPosition(Lwjgl3Graphics. | |
| copy | back to summary |
|---|---|
| pack-priv static Lwjgl3ApplicationConfiguration copy(Lwjgl3ApplicationConfiguration config) | |
| disableAudio | back to summary |
|---|---|
| public void disableAudio(boolean disableAudio) Whether to disable audio or not. If set to true, the returned audio class instances like | |
| enableGLDebugOutput | back to summary |
|---|---|
| public void enableGLDebugOutput(boolean enable, PrintStream debugOutputStream) Enables use of OpenGL debug message callbacks. If not supported by the core GL driver (since GL 4.3), this uses the
KHR_debug, ARB_debug_output or AMD_debug_output extension if available. By default, debug messages with NOTIFICATION
severity are disabled to avoid log spam.
You can call with | |
| getDisplayMode | back to summary |
|---|---|
public static Graphics.
| |
| getDisplayMode | back to summary |
|---|---|
public static Graphics.
| |
| getDisplayModes | back to summary |
|---|---|
public static Graphics.
| |
| getDisplayModes | back to summary |
|---|---|
public static Graphics.
| |
| getMonitors | back to summary |
|---|---|
| public static Graphics. | |
| getPrimaryMonitor | back to summary |
|---|---|
| public static Graphics. | |
| set | back to summary |
|---|---|
| pack-priv void set(Lwjgl3ApplicationConfiguration config) | |
| setAudioConfig | back to summary |
|---|---|
| public void setAudioConfig(int simultaneousSources, int bufferSize, int bufferCount) Sets the audio device configuration.
| |
| setBackBufferConfig | back to summary |
|---|---|
| public void setBackBufferConfig(int r, int g, int b, int a, int depth, int stencil, int samples) Sets the bit depth of the color, depth and stencil buffer as well as multi-sampling.
| |
| setDepthBits | back to summary |
|---|---|
| public void setDepthBits(int depth) Sets the bit depth of depth buffer.
| |
| setForegroundFPS | back to summary |
|---|---|
| public void setForegroundFPS(int fps) Sets the target framerate for the application. The CPU sleeps as needed. Must be positive. Use 0 to never sleep. Default is 0. | |
| setHdpiMode | back to summary |
|---|---|
| public void setHdpiMode(HdpiMode mode) Defines how HDPI monitors are handled. Operating systems may have a per-monitor HDPI scale setting. The operating system
may report window width/height and mouse coordinates in a logical coordinate system at a lower resolution than the actual
physical resolution. This setting allows you to specify whether you want to work in logical or raw pixel units. See
| |
| setIdleFPS | back to summary |
|---|---|
| public void setIdleFPS(int fps) Sets the polling rate during idle time in non-continuous rendering mode. Must be positive. Default is 60. | |
| setInitialVisible | back to summary |
|---|---|
| public void setInitialVisible(boolean visibility) Overrides com.
| |
| setMaxNetThreads | back to summary |
|---|---|
| public void setMaxNetThreads(int maxNetThreads) Sets the maximum number of threads to use for network requests. | |
| setOpenGLEmulation | back to summary |
|---|---|
| public void setOpenGLEmulation(Lwjgl3ApplicationConfiguration. Sets which OpenGL version to use to emulate OpenGL ES. If the given major/minor version is not supported, the backend falls back to OpenGL ES 2.0 emulation through OpenGL 2.0. The default parameters for major and minor should be 3 and 2 respectively to be compatible with Mac OS X. Specifying major version 4 and minor version 2 will ensure that all OpenGL ES 3.0 features are supported. Note however that Mac OS X does only support 3.2.
| |
| setPauseWhenLostFocus | back to summary |
|---|---|
| public void setPauseWhenLostFocus(boolean pauseWhenLostFocus) Sets whether to pause the application | |
| setPauseWhenMinimized | back to summary |
|---|---|
| public void setPauseWhenMinimized(boolean pauseWhenMinimized) Sets whether to pause the application | |
| setPreferencesConfig | back to summary |
|---|---|
| public void setPreferencesConfig(String preferencesDirectory, Files. Sets the directory where | |
| setRGBABits | back to summary |
|---|---|
| public void setRGBABits(int r, int g, int b, int a) Sets the bit depth of the color buffer.
| |
| setSamples | back to summary |
|---|---|
| public void setSamples(int samples) Sets the multi-sampling samples value.
| |
| setStencilBits | back to summary |
|---|---|
| public void setStencilBits(int stencil) Sets the bit depth of stencil buffer.
| |
| setTransparentFramebuffer | back to summary |
|---|---|
| public void setTransparentFramebuffer(boolean transparentFramebuffer) Set transparent window hint. Results may vary on different OS and GPUs. Usage with the ANGLE backend is less consistent. | |
| toLwjgl3Monitor | back to summary |
|---|---|
| pack-priv static Lwjgl3Graphics. | |
| useGlfwAsync | back to summary |
|---|---|
| public static void useGlfwAsync() Whether to use the "glfw_async" library. This method only does something on mac operating system. This means you do not have to set the JVM argument "-XstartOnFirstThread"
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Lwjgl3ApplicationConfiguration. | |
| public static final Lwjgl3ApplicationConfiguration. | |
| public static final Lwjgl3ApplicationConfiguration. | |
| public static final Lwjgl3ApplicationConfiguration. | |
| public static final Lwjgl3ApplicationConfiguration. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Lwjgl3ApplicationConfiguration. | |
| public static Lwjgl3ApplicationConfiguration. |
| ANGLE_GLES20 | back to summary |
|---|---|
| public static final Lwjgl3ApplicationConfiguration. | |
| GL20 | back to summary |
|---|---|
| public static final Lwjgl3ApplicationConfiguration. | |
| GL30 | back to summary |
|---|---|
| public static final Lwjgl3ApplicationConfiguration. | |
| GL31 | back to summary |
|---|---|
| public static final Lwjgl3ApplicationConfiguration. | |
| GL32 | back to summary |
|---|---|
| public static final Lwjgl3ApplicationConfiguration. | |
| GLEmulation | back to summary |
|---|---|
| private GLEmulation() | |
| valueOf | back to summary |
|---|---|
| public static Lwjgl3ApplicationConfiguration. | |
| values | back to summary |
|---|---|
| public static Lwjgl3ApplicationConfiguration. | |