public class Lwjgl3Graphics extends AbstractGraphics implements Disposable
| Modifier and Type | Class and Description |
|---|---|
static class |
Lwjgl3Graphics.Lwjgl3DisplayMode |
static class |
Lwjgl3Graphics.Lwjgl3Monitor |
Graphics.BufferFormat, Graphics.DisplayMode, Graphics.GraphicsType, Graphics.Monitor| Constructor and Description |
|---|
Lwjgl3Graphics(Lwjgl3Window window) |
getBackBufferScale, getDensity, getRawDeltaTimepublic Lwjgl3Graphics(Lwjgl3Window window)
public boolean supportsCubeMapSeamless()
public void enableCubeMapSeamless(boolean enable)
supportsCubeMapSeamless())enable - public Lwjgl3Window getWindow()
public boolean isGL30Available()
isGL30Available in interface Graphicspublic int getBackBufferWidth()
getBackBufferWidth in interface Graphicspublic int getBackBufferHeight()
getBackBufferHeight in interface Graphicspublic int getLogicalWidth()
public int getLogicalHeight()
public long getFrameId()
getFrameId in interface Graphicspublic float getDeltaTime()
getDeltaTime in interface Graphicspublic int getFramesPerSecond()
getFramesPerSecond in interface Graphicspublic Graphics.GraphicsType getType()
public GLVersion getGLVersion()
getGLVersion in interface Graphicspublic boolean supportsDisplayModeChange()
supportsDisplayModeChange in interface Graphicspublic Graphics.Monitor getPrimaryMonitor()
getPrimaryMonitor in interface Graphicspublic Graphics.Monitor getMonitor()
getMonitor in interface Graphicspublic Graphics.Monitor[] getMonitors()
getMonitors in interface Graphicspublic Graphics.DisplayMode[] getDisplayModes()
getDisplayModes in interface Graphicspublic Graphics.DisplayMode[] getDisplayModes(Graphics.Monitor monitor)
getDisplayModes in interface Graphicspublic Graphics.DisplayMode getDisplayMode()
getDisplayMode in interface Graphicspublic Graphics.DisplayMode getDisplayMode(Graphics.Monitor monitor)
getDisplayMode in interface Graphicspublic int getSafeInsetLeft()
getSafeInsetLeft in interface Graphicspublic int getSafeInsetTop()
getSafeInsetTop in interface Graphicspublic int getSafeInsetBottom()
getSafeInsetBottom in interface Graphicspublic int getSafeInsetRight()
getSafeInsetRight in interface Graphicspublic boolean setFullscreenMode(Graphics.DisplayMode displayMode)
setFullscreenMode in interface Graphicspublic boolean setWindowedMode(int width,
int height)
setWindowedMode in interface Graphicspublic void setUndecorated(boolean undecorated)
setUndecorated in interface Graphicspublic void setResizable(boolean resizable)
setResizable in interface Graphicspublic void setForegroundFPS(int fps)
setForegroundFPS in interface Graphicsfps - fpspublic Graphics.BufferFormat getBufferFormat()
getBufferFormat in interface Graphicspublic boolean supportsExtension(String extension)
supportsExtension in interface Graphicspublic void setContinuousRendering(boolean isContinuous)
setContinuousRendering in interface Graphicspublic boolean isContinuousRendering()
isContinuousRendering in interface Graphicspublic void requestRendering()
requestRendering in interface Graphicspublic boolean isFullscreen()
isFullscreen in interface Graphicspublic void setSystemCursor(Cursor.SystemCursor systemCursor)
setSystemCursor in interface Graphicspublic void dispose()
dispose in interface DisposableCopyright © 2021. All rights reserved.