public class Lwjgl3Mini2DxGraphics
extends java.lang.Object
implements com.badlogic.gdx.Graphics, com.badlogic.gdx.utils.Disposable
| Constructor and Description |
|---|
Lwjgl3Mini2DxGraphics(Lwjgl3Mini2DxWindow window) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
int |
getBackBufferHeight() |
int |
getBackBufferWidth() |
com.badlogic.gdx.Graphics.BufferFormat |
getBufferFormat() |
float |
getDeltaTime() |
float |
getDensity() |
com.badlogic.gdx.Graphics.DisplayMode |
getDisplayMode() |
com.badlogic.gdx.Graphics.DisplayMode |
getDisplayMode(com.badlogic.gdx.Graphics.Monitor monitor) |
com.badlogic.gdx.Graphics.DisplayMode[] |
getDisplayModes() |
com.badlogic.gdx.Graphics.DisplayMode[] |
getDisplayModes(com.badlogic.gdx.Graphics.Monitor monitor) |
long |
getFrameId() |
int |
getFramesPerSecond() |
com.badlogic.gdx.graphics.GL20 |
getGL20() |
com.badlogic.gdx.graphics.GL30 |
getGL30() |
com.badlogic.gdx.graphics.glutils.GLVersion |
getGLVersion() |
int |
getHeight() |
int |
getLogicalHeight() |
int |
getLogicalWidth() |
com.badlogic.gdx.Graphics.Monitor |
getMonitor() |
com.badlogic.gdx.Graphics.Monitor[] |
getMonitors() |
float |
getPpcX() |
float |
getPpcY() |
float |
getPpiX() |
float |
getPpiY() |
com.badlogic.gdx.Graphics.Monitor |
getPrimaryMonitor() |
float |
getRawDeltaTime() |
int |
getSafeInsetBottom() |
int |
getSafeInsetLeft() |
int |
getSafeInsetRight() |
int |
getSafeInsetTop() |
com.badlogic.gdx.Graphics.GraphicsType |
getType() |
int |
getWidth() |
Lwjgl3Mini2DxWindow |
getWindow() |
boolean |
isContinuousRendering() |
boolean |
isFullscreen() |
boolean |
isGL30Available() |
com.badlogic.gdx.graphics.Cursor |
newCursor(com.badlogic.gdx.graphics.Pixmap pixmap,
int xHotspot,
int yHotspot) |
void |
requestRendering() |
void |
setContinuousRendering(boolean isContinuous) |
void |
setCursor(com.badlogic.gdx.graphics.Cursor cursor) |
boolean |
setFullscreenMode(com.badlogic.gdx.Graphics.DisplayMode displayMode) |
void |
setGL20(com.badlogic.gdx.graphics.GL20 gl20) |
void |
setGL30(com.badlogic.gdx.graphics.GL30 gl30) |
void |
setResizable(boolean resizable) |
void |
setSystemCursor(com.badlogic.gdx.graphics.Cursor.SystemCursor systemCursor) |
void |
setTitle(java.lang.String title) |
void |
setUndecorated(boolean undecorated) |
void |
setVSync(boolean vsync) |
boolean |
setWindowedMode(int width,
int height) |
boolean |
supportsDisplayModeChange() |
boolean |
supportsExtension(java.lang.String extension) |
public Lwjgl3Mini2DxGraphics(Lwjgl3Mini2DxWindow window)
public Lwjgl3Mini2DxWindow getWindow()
public boolean isGL30Available()
isGL30Available in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.graphics.GL20 getGL20()
getGL20 in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.graphics.GL30 getGL30()
getGL30 in interface com.badlogic.gdx.Graphicspublic void setGL20(com.badlogic.gdx.graphics.GL20 gl20)
setGL20 in interface com.badlogic.gdx.Graphicspublic void setGL30(com.badlogic.gdx.graphics.GL30 gl30)
setGL30 in interface com.badlogic.gdx.Graphicspublic int getWidth()
getWidth in interface com.badlogic.gdx.Graphicspublic int getHeight()
getHeight in interface com.badlogic.gdx.Graphicspublic int getBackBufferWidth()
getBackBufferWidth in interface com.badlogic.gdx.Graphicspublic int getBackBufferHeight()
getBackBufferHeight in interface com.badlogic.gdx.Graphicspublic int getLogicalWidth()
public int getLogicalHeight()
public long getFrameId()
getFrameId in interface com.badlogic.gdx.Graphicspublic float getDeltaTime()
getDeltaTime in interface com.badlogic.gdx.Graphicspublic float getRawDeltaTime()
getRawDeltaTime in interface com.badlogic.gdx.Graphicspublic int getFramesPerSecond()
getFramesPerSecond in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.GraphicsType getType()
getType in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.graphics.glutils.GLVersion getGLVersion()
getGLVersion in interface com.badlogic.gdx.Graphicspublic float getPpiX()
getPpiX in interface com.badlogic.gdx.Graphicspublic float getPpiY()
getPpiY in interface com.badlogic.gdx.Graphicspublic float getPpcX()
getPpcX in interface com.badlogic.gdx.Graphicspublic float getPpcY()
getPpcY in interface com.badlogic.gdx.Graphicspublic float getDensity()
getDensity in interface com.badlogic.gdx.Graphicspublic boolean supportsDisplayModeChange()
supportsDisplayModeChange in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.Monitor getPrimaryMonitor()
getPrimaryMonitor in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.Monitor getMonitor()
getMonitor in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.Monitor[] getMonitors()
getMonitors in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.DisplayMode[] getDisplayModes()
getDisplayModes in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.DisplayMode[] getDisplayModes(com.badlogic.gdx.Graphics.Monitor monitor)
getDisplayModes in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.DisplayMode getDisplayMode()
getDisplayMode in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.DisplayMode getDisplayMode(com.badlogic.gdx.Graphics.Monitor monitor)
getDisplayMode in interface com.badlogic.gdx.Graphicspublic int getSafeInsetLeft()
public int getSafeInsetTop()
public int getSafeInsetBottom()
public int getSafeInsetRight()
public boolean setFullscreenMode(com.badlogic.gdx.Graphics.DisplayMode displayMode)
setFullscreenMode in interface com.badlogic.gdx.Graphicspublic boolean setWindowedMode(int width,
int height)
setWindowedMode in interface com.badlogic.gdx.Graphicspublic void setTitle(java.lang.String title)
setTitle in interface com.badlogic.gdx.Graphicspublic void setUndecorated(boolean undecorated)
setUndecorated in interface com.badlogic.gdx.Graphicspublic void setResizable(boolean resizable)
setResizable in interface com.badlogic.gdx.Graphicspublic void setVSync(boolean vsync)
setVSync in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.Graphics.BufferFormat getBufferFormat()
getBufferFormat in interface com.badlogic.gdx.Graphicspublic boolean supportsExtension(java.lang.String extension)
supportsExtension in interface com.badlogic.gdx.Graphicspublic void setContinuousRendering(boolean isContinuous)
setContinuousRendering in interface com.badlogic.gdx.Graphicspublic boolean isContinuousRendering()
isContinuousRendering in interface com.badlogic.gdx.Graphicspublic void requestRendering()
requestRendering in interface com.badlogic.gdx.Graphicspublic boolean isFullscreen()
isFullscreen in interface com.badlogic.gdx.Graphicspublic com.badlogic.gdx.graphics.Cursor newCursor(com.badlogic.gdx.graphics.Pixmap pixmap,
int xHotspot,
int yHotspot)
newCursor in interface com.badlogic.gdx.Graphicspublic void setCursor(com.badlogic.gdx.graphics.Cursor cursor)
setCursor in interface com.badlogic.gdx.Graphicspublic void setSystemCursor(com.badlogic.gdx.graphics.Cursor.SystemCursor systemCursor)
setSystemCursor in interface com.badlogic.gdx.Graphicspublic void dispose()
dispose in interface com.badlogic.gdx.utils.Disposable