Package com.prineside.luaj.mapping.parts
Class LJ_GDX.Graphics_K.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX.Graphics_K.LIP
- All Implemented Interfaces:
 com.badlogic.gdx.Graphics,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
 - LJ_GDX.Graphics_K
 
public static class LJ_GDX.Graphics_K.LIP
extends InterfaceProxy
implements com.badlogic.gdx.Graphics
- 
Nested Class Summary
Nested classes/interfaces inherited from interface com.badlogic.gdx.Graphics
com.badlogic.gdx.Graphics.BufferFormat, com.badlogic.gdx.Graphics.DisplayMode, com.badlogic.gdx.Graphics.GraphicsType, com.badlogic.gdx.Graphics.Monitor - 
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj - 
Method Summary
Modifier and TypeMethodDescriptionintfloatintcom.badlogic.gdx.Graphics.BufferFormatfloatfloatThis is a scaling factor for the Density Independent Pixel unit, following the same conventions as android.util.DisplayMetrics#density, where one DIP is one pixel on an approximately 160 dpi screen.com.badlogic.gdx.Graphics.DisplayModecom.badlogic.gdx.Graphics.DisplayModegetDisplayMode(com.badlogic.gdx.Graphics.Monitor p1) com.badlogic.gdx.Graphics.DisplayMode[]com.badlogic.gdx.Graphics.DisplayMode[]getDisplayModes(com.badlogic.gdx.Graphics.Monitor p1) longReturns the id of the current frame.intcom.badlogic.gdx.graphics.GL20getGL20()com.badlogic.gdx.graphics.GL30getGL30()com.badlogic.gdx.graphics.GL31getGL31()com.badlogic.gdx.graphics.GL32getGL32()com.badlogic.gdx.graphics.glutils.GLVersionintcom.badlogic.gdx.Graphics.Monitorcom.badlogic.gdx.Graphics.Monitor[]floatgetPpcX()floatgetPpcY()floatgetPpiX()floatgetPpiY()com.badlogic.gdx.Graphics.Monitorfloatintintintintcom.badlogic.gdx.Graphics.GraphicsTypegetType()intgetWidth()booleanbooleanWhether the app is fullscreen or notbooleanReturns whether OpenGL ES 3.0 is available.booleanReturns whether OpenGL ES 3.1 is available.booleanReturns whether OpenGL ES 3.2 is available.com.badlogic.gdx.graphics.CursornewCursor(com.badlogic.gdx.graphics.Pixmap p1, int p2, int p3) Create a new cursor represented by thePixmap.voidRequests a new frame to be rendered if the rendering mode is non-continuous.voidsetContinuousRendering(boolean p1) Sets whether to render continuously.voidsetCursor(com.badlogic.gdx.graphics.Cursor p1) Only viable on the lwjgl-backend and on the gwt-backend.voidsetForegroundFPS(int p1) Sets the target framerate for the application when using continuous rendering.booleansetFullscreenMode(com.badlogic.gdx.Graphics.DisplayMode p1) Sets the window to full-screen mode.voidsetGL20(com.badlogic.gdx.graphics.GL20 p1) Set the GL20 instancevoidsetGL30(com.badlogic.gdx.graphics.GL30 p1) Set the GL30 instancevoidsetGL31(com.badlogic.gdx.graphics.GL31 p1) Set the GL31 instancevoidsetGL32(com.badlogic.gdx.graphics.GL32 p1) Set the GL32 instancevoidsetResizable(boolean p1) Sets whether or not the window should be resizable.voidsetSystemCursor(com.badlogic.gdx.graphics.Cursor.SystemCursor p1) Sets one of the predefinedCursor.SystemCursorsvoidSets the title of the window.voidsetUndecorated(boolean p1) Sets the window decoration as enabled or disabled.voidsetVSync(boolean p1) Enable/Disable vsynching.booleansetWindowedMode(int p1, int p2) Sets the window to windowed mode.booleanWhether the given backend supports a display mode change via callingGraphics.setFullscreenMode(DisplayMode)booleanMethods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write 
- 
Method Details
- 
getBackBufferHeight
public int getBackBufferHeight()- Specified by:
 getBackBufferHeightin interfacecom.badlogic.gdx.Graphics- Returns:
 - the height of the framebuffer in physical pixels
 
 - 
getBackBufferScale
public float getBackBufferScale()- Specified by:
 getBackBufferScalein interfacecom.badlogic.gdx.Graphics- Returns:
 - amount of pixels per logical pixel (point)
 
 - 
getBackBufferWidth
public int getBackBufferWidth()- Specified by:
 getBackBufferWidthin interfacecom.badlogic.gdx.Graphics- Returns:
 - the width of the framebuffer in physical pixels
 
 - 
getBufferFormat
public com.badlogic.gdx.Graphics.BufferFormat getBufferFormat()- Specified by:
 getBufferFormatin interfacecom.badlogic.gdx.Graphics- Returns:
 - the format of the color, depth and stencil buffer in a 
Graphics.BufferFormatinstance 
 - 
getDeltaTime
public float getDeltaTime()- Specified by:
 getDeltaTimein interfacecom.badlogic.gdx.Graphics- Returns:
 - the time span between the current frame and the last frame in seconds.
 
 - 
getDensity
public float getDensity()Description copied from interface:com.badlogic.gdx.GraphicsThis is a scaling factor for the Density Independent Pixel unit, following the same conventions as android.util.DisplayMetrics#density, where one DIP is one pixel on an approximately 160 dpi screen. Thus on a 160dpi screen this density value will be 1; on a 120 dpi screen it would be .75; etc. If the density could not be determined, this returns a default value of 1. Depending on the underlying platform implementation this might be a relatively expensive operation. Therefore it should not be called continously on each frame.- Specified by:
 getDensityin interfacecom.badlogic.gdx.Graphics- Returns:
 - the Density Independent Pixel factor of the display.
 
 - 
getDisplayMode
public com.badlogic.gdx.Graphics.DisplayMode getDisplayMode()- Specified by:
 getDisplayModein interfacecom.badlogic.gdx.Graphics- Returns:
 - the current 
Graphics.DisplayModeof the monitor the window is on. 
 - 
getDisplayMode
public com.badlogic.gdx.Graphics.DisplayMode getDisplayMode(com.badlogic.gdx.Graphics.Monitor p1) - Specified by:
 getDisplayModein interfacecom.badlogic.gdx.Graphics- Returns:
 - the current 
Graphics.DisplayModeof the givenGraphics.Monitor 
 - 
getDisplayModes
public com.badlogic.gdx.Graphics.DisplayMode[] getDisplayModes()- Specified by:
 getDisplayModesin interfacecom.badlogic.gdx.Graphics- Returns:
 - the supported fullscreen 
Graphics.DisplayMode(s) of the monitor the window is on 
 - 
getDisplayModes
public com.badlogic.gdx.Graphics.DisplayMode[] getDisplayModes(com.badlogic.gdx.Graphics.Monitor p1) - Specified by:
 getDisplayModesin interfacecom.badlogic.gdx.Graphics- Returns:
 - the supported fullscreen 
Graphics.DisplayModes of the givenGraphics.Monitor 
 - 
getFrameId
public long getFrameId()Description copied from interface:com.badlogic.gdx.GraphicsReturns 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 theApplicationListener.render()method. Also, the id of the first frame is 0; the id of subsequent frames is guaranteed to take increasing values for 263-1 rendering cycles.- Specified by:
 getFrameIdin interfacecom.badlogic.gdx.Graphics- Returns:
 - the id of the current frame
 
 - 
getFramesPerSecond
public int getFramesPerSecond()- Specified by:
 getFramesPerSecondin interfacecom.badlogic.gdx.Graphics- Returns:
 - the average number of frames per second
 
 - 
getGL20
public com.badlogic.gdx.graphics.GL20 getGL20()- Specified by:
 getGL20in interfacecom.badlogic.gdx.Graphics- Returns:
 - the 
GL20instance 
 - 
getGL30
public com.badlogic.gdx.graphics.GL30 getGL30()- Specified by:
 getGL30in interfacecom.badlogic.gdx.Graphics- Returns:
 - the 
GL30instance or null if not supported 
 - 
getGL31
public com.badlogic.gdx.graphics.GL31 getGL31()- Specified by:
 getGL31in interfacecom.badlogic.gdx.Graphics- Returns:
 - the 
GL31instance or null if not supported 
 - 
getGL32
public com.badlogic.gdx.graphics.GL32 getGL32()- Specified by:
 getGL32in interfacecom.badlogic.gdx.Graphics- Returns:
 - the 
GL32instance or null if not supported 
 - 
getGLVersion
public com.badlogic.gdx.graphics.glutils.GLVersion getGLVersion()- Specified by:
 getGLVersionin interfacecom.badlogic.gdx.Graphics- Returns:
 - the 
GLVersionof this Graphics instance 
 - 
getHeight
public int getHeight()- Specified by:
 getHeightin interfacecom.badlogic.gdx.Graphics- Returns:
 - the height of the client area in logical pixels
 
 - 
getMonitor
public com.badlogic.gdx.Graphics.Monitor getMonitor()- Specified by:
 getMonitorin interfacecom.badlogic.gdx.Graphics- Returns:
 - the monitor the application's window is located on
 
 - 
getMonitors
public com.badlogic.gdx.Graphics.Monitor[] getMonitors()- Specified by:
 getMonitorsin interfacecom.badlogic.gdx.Graphics- Returns:
 - the currently connected 
Graphics.Monitors 
 - 
getPpcX
public float getPpcX()- Specified by:
 getPpcXin interfacecom.badlogic.gdx.Graphics- Returns:
 - the pixels per centimeter on the x-axis
 
 - 
getPpcY
public float getPpcY()- Specified by:
 getPpcYin interfacecom.badlogic.gdx.Graphics- Returns:
 - the pixels per centimeter on the y-axis.
 
 - 
getPpiX
public float getPpiX()- Specified by:
 getPpiXin interfacecom.badlogic.gdx.Graphics- Returns:
 - the pixels per inch on the x-axis
 
 - 
getPpiY
public float getPpiY()- Specified by:
 getPpiYin interfacecom.badlogic.gdx.Graphics- Returns:
 - the pixels per inch on the y-axis
 
 - 
getPrimaryMonitor
public com.badlogic.gdx.Graphics.Monitor getPrimaryMonitor()- Specified by:
 getPrimaryMonitorin interfacecom.badlogic.gdx.Graphics- Returns:
 - the primary monitor
 
 - 
getRawDeltaTime
public float getRawDeltaTime()- Specified by:
 getRawDeltaTimein interfacecom.badlogic.gdx.Graphics- Returns:
 - the time span between the current frame and the last frame in seconds, without smoothing
 
 - 
getSafeInsetBottom
public int getSafeInsetBottom()- Specified by:
 getSafeInsetBottomin interfacecom.badlogic.gdx.Graphics- Returns:
 - the inset from the bottom which avoids display cutouts or floating gesture bars, in logical pixels
 
 - 
getSafeInsetLeft
public int getSafeInsetLeft()- Specified by:
 getSafeInsetLeftin interfacecom.badlogic.gdx.Graphics- Returns:
 - the inset from the left which avoids display cutouts in logical pixels
 
 - 
getSafeInsetRight
public int getSafeInsetRight()- Specified by:
 getSafeInsetRightin interfacecom.badlogic.gdx.Graphics- Returns:
 - the inset from the right which avoids display cutouts in logical pixels
 
 - 
getSafeInsetTop
public int getSafeInsetTop()- Specified by:
 getSafeInsetTopin interfacecom.badlogic.gdx.Graphics- Returns:
 - the inset from the top which avoids display cutouts in logical pixels
 
 - 
getType
public com.badlogic.gdx.Graphics.GraphicsType getType()- Specified by:
 getTypein interfacecom.badlogic.gdx.Graphics- Returns:
 - the 
Graphics.GraphicsTypeof this Graphics instance 
 - 
getWidth
public int getWidth()- Specified by:
 getWidthin interfacecom.badlogic.gdx.Graphics- Returns:
 - the width of the client area in logical pixels.
 
 - 
isContinuousRendering
public boolean isContinuousRendering()- Specified by:
 isContinuousRenderingin interfacecom.badlogic.gdx.Graphics- Returns:
 - whether rendering is continuous.
 
 - 
isFullscreen
public boolean isFullscreen()Description copied from interface:com.badlogic.gdx.GraphicsWhether the app is fullscreen or not- Specified by:
 isFullscreenin interfacecom.badlogic.gdx.Graphics
 - 
isGL30Available
public boolean isGL30Available()Description copied from interface:com.badlogic.gdx.GraphicsReturns whether OpenGL ES 3.0 is available. If it is you can get an instance ofGL30viaGraphics.getGL30()to access OpenGL ES 3.0 functionality. Note that this functionality will only be available if you instructed theApplicationinstance to use OpenGL ES 3.0!- Specified by:
 isGL30Availablein interfacecom.badlogic.gdx.Graphics- Returns:
 - whether OpenGL ES 3.0 is available
 
 - 
isGL31Available
public boolean isGL31Available()Description copied from interface:com.badlogic.gdx.GraphicsReturns whether OpenGL ES 3.1 is available. If it is you can get an instance ofGL31viaGraphics.getGL31()to access OpenGL ES 3.1 functionality. Note that this functionality will only be available if you instructed theApplicationinstance to use OpenGL ES 3.1!- Specified by:
 isGL31Availablein interfacecom.badlogic.gdx.Graphics- Returns:
 - whether OpenGL ES 3.1 is available
 
 - 
isGL32Available
public boolean isGL32Available()Description copied from interface:com.badlogic.gdx.GraphicsReturns whether OpenGL ES 3.2 is available. If it is you can get an instance ofGL32viaGraphics.getGL32()to access OpenGL ES 3.2 functionality. Note that this functionality will only be available if you instructed theApplicationinstance to use OpenGL ES 3.2!- Specified by:
 isGL32Availablein interfacecom.badlogic.gdx.Graphics- Returns:
 - whether OpenGL ES 3.2 is available
 
 - 
newCursor
public com.badlogic.gdx.graphics.Cursor newCursor(com.badlogic.gdx.graphics.Pixmap p1, int p2, int p3) Description copied from interface:com.badlogic.gdx.GraphicsCreate a new cursor represented by thePixmap. The Pixmap must be in RGBA8888 format, width & height must be powers-of-two greater than zero (not necessarily equal) and of a certain minimum size (32x32 is a safe bet), and alpha transparency must be single-bit (i.e., 0x00 or 0xFF only). This function returns a Cursor object that can be set as the system cursor by callingGraphics.setCursor(Cursor).- Specified by:
 newCursorin interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- the mouse cursor image as aPixmapp2- the x location of the hotspot pixel within the cursor image (origin top-left corner)p3- the y location of the hotspot pixel within the cursor image (origin top-left corner)- Returns:
 - a cursor object that can be used by calling 
Graphics.setCursor(Cursor)or null if not supported 
 - 
requestRendering
public void requestRendering()Description copied from interface:com.badlogic.gdx.GraphicsRequests a new frame to be rendered if the rendering mode is non-continuous. This method can be called from any thread.- Specified by:
 requestRenderingin interfacecom.badlogic.gdx.Graphics
 - 
setContinuousRendering
public void setContinuousRendering(boolean p1) Description copied from interface:com.badlogic.gdx.GraphicsSets whether to render continuously. In case rendering is performed non-continuously, the following events will trigger a redraw:- A call to 
Graphics.requestRendering() - Input events from the touch screen/mouse or keyboard
 - A 
Runnableis posted to the rendering thread viaApplication.postRunnable(Runnable). In the case of a multi-window app, all windows will request rendering if a runnable is posted to the application. To avoid this, post a runnable to the window instead. 
ApplicationListener. This method can be called from any thread.- Specified by:
 setContinuousRenderingin interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- whether the rendering should be continuous or not.
 - A call to 
 - 
setCursor
public void setCursor(com.badlogic.gdx.graphics.Cursor p1) Description copied from interface:com.badlogic.gdx.GraphicsOnly 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 theCursor. It is recommended to call this function in the main render thread, and maximum one time per frame.- Specified by:
 setCursorin interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- the mouse cursor as aCursor
 - 
setForegroundFPS
public void setForegroundFPS(int p1) Description copied from interface:com.badlogic.gdx.GraphicsSets the target framerate for the application when using continuous rendering. Might not work on all platforms. Is not generally advised to be used on mobile platforms.- Specified by:
 setForegroundFPSin interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- the targeted fps; default differs by platform
 - 
setFullscreenMode
public boolean setFullscreenMode(com.badlogic.gdx.Graphics.DisplayMode p1) Description copied from interface:com.badlogic.gdx.GraphicsSets the window to full-screen mode.- Specified by:
 setFullscreenModein interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- the display mode.- Returns:
 - whether the operation succeeded.
 
 - 
setGL20
public void setGL20(com.badlogic.gdx.graphics.GL20 p1) Description copied from interface:com.badlogic.gdx.GraphicsSet the GL20 instance- Specified by:
 setGL20in interfacecom.badlogic.gdx.Graphics
 - 
setGL30
public void setGL30(com.badlogic.gdx.graphics.GL30 p1) Description copied from interface:com.badlogic.gdx.GraphicsSet the GL30 instance- Specified by:
 setGL30in interfacecom.badlogic.gdx.Graphics
 - 
setGL31
public void setGL31(com.badlogic.gdx.graphics.GL31 p1) Description copied from interface:com.badlogic.gdx.GraphicsSet the GL31 instance- Specified by:
 setGL31in interfacecom.badlogic.gdx.Graphics
 - 
setGL32
public void setGL32(com.badlogic.gdx.graphics.GL32 p1) Description copied from interface:com.badlogic.gdx.GraphicsSet the GL32 instance- Specified by:
 setGL32in interfacecom.badlogic.gdx.Graphics
 - 
setResizable
public void setResizable(boolean p1) Description copied from interface:com.badlogic.gdx.GraphicsSets 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.- Specified by:
 setResizablein interfacecom.badlogic.gdx.Graphics
 - 
setSystemCursor
public void setSystemCursor(com.badlogic.gdx.graphics.Cursor.SystemCursor p1) Description copied from interface:com.badlogic.gdx.GraphicsSets one of the predefinedCursor.SystemCursors- Specified by:
 setSystemCursorin interfacecom.badlogic.gdx.Graphics
 - 
setTitle
Description copied from interface:com.badlogic.gdx.GraphicsSets the title of the window. Ignored on Android.- Specified by:
 setTitlein interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- the title.
 - 
setUndecorated
public void setUndecorated(boolean p1) Description copied from interface:com.badlogic.gdx.GraphicsSets 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).- Specified by:
 setUndecoratedin interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- true if the window border or status bar should be hidden. false otherwise.
 - 
setVSync
public void setVSync(boolean p1) Description copied from interface:com.badlogic.gdx.GraphicsEnable/Disable vsynching. This is a best-effort attempt which might not work on all platforms.- Specified by:
 setVSyncin interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- vsync enabled or not.
 - 
setWindowedMode
public boolean setWindowedMode(int p1, int p2) Description copied from interface:com.badlogic.gdx.GraphicsSets the window to windowed mode.- Specified by:
 setWindowedModein interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- the width in pixelsp2- the height in pixels- Returns:
 - whether the operation succeeded
 
 - 
supportsDisplayModeChange
public boolean supportsDisplayModeChange()Description copied from interface:com.badlogic.gdx.GraphicsWhether the given backend supports a display mode change via callingGraphics.setFullscreenMode(DisplayMode)- Specified by:
 supportsDisplayModeChangein interfacecom.badlogic.gdx.Graphics- Returns:
 - whether display mode changes are supported or not.
 
 - 
supportsExtension
- Specified by:
 supportsExtensionin interfacecom.badlogic.gdx.Graphics- Parameters:
 p1- the extension name- Returns:
 - whether the extension is supported
 
 
 -