public class IOSMini2DxGraphics
extends org.robovm.apple.foundation.NSObject
implements com.badlogic.gdx.Graphics, org.robovm.apple.glkit.GLKViewDelegate, org.robovm.apple.glkit.GLKViewControllerDelegate
org.robovm.apple.foundation.NSObject.Handle, org.robovm.apple.foundation.NSObject.Marshaler, org.robovm.apple.foundation.NSObject.NoRetainMarshaler, org.robovm.apple.foundation.NSObject.NSKeyValueObserver, org.robovm.apple.foundation.NSObject.NSObjectPtr, org.robovm.apple.foundation.NSObject.SkipInit
Constructor and Description |
---|
IOSMini2DxGraphics(float scale,
IOSMini2DxGame app,
IOSMini2DxConfig config,
IOSMini2DxInput input,
boolean useGLES30) |
Modifier and Type | Method and Description |
---|---|
void |
draw(org.robovm.apple.glkit.GLKView view,
org.robovm.apple.coregraphics.CGRect rect) |
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() |
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() |
com.badlogic.gdx.Graphics.GraphicsType |
getType() |
int |
getWidth() |
boolean |
isContinuousRendering() |
boolean |
isFullscreen() |
boolean |
isGL30Available() |
com.badlogic.gdx.graphics.Cursor |
newCursor(com.badlogic.gdx.graphics.Pixmap pixmap,
int xHotspot,
int yHotspot) |
void |
pause() |
void |
requestRendering() |
void |
resume() |
void |
setContinuousRendering(boolean isContinuous) |
void |
setCursor(com.badlogic.gdx.graphics.Cursor cursor) |
boolean |
setFullscreenMode(com.badlogic.gdx.Graphics.DisplayMode displayMode) |
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) |
void |
update(org.robovm.apple.glkit.GLKViewController controller) |
void |
willPause(org.robovm.apple.glkit.GLKViewController controller,
boolean pause) |
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
public IOSMini2DxGraphics(float scale, IOSMini2DxGame app, IOSMini2DxConfig config, IOSMini2DxInput input, boolean useGLES30)
public void resume()
public void pause()
public void draw(org.robovm.apple.glkit.GLKView view, org.robovm.apple.coregraphics.CGRect rect)
draw
in interface org.robovm.apple.glkit.GLKViewDelegate
public void update(org.robovm.apple.glkit.GLKViewController controller)
update
in interface org.robovm.apple.glkit.GLKViewControllerDelegate
public void willPause(org.robovm.apple.glkit.GLKViewController controller, boolean pause)
willPause
in interface org.robovm.apple.glkit.GLKViewControllerDelegate
public com.badlogic.gdx.graphics.GL20 getGL20()
getGL20
in interface com.badlogic.gdx.Graphics
public int getWidth()
getWidth
in interface com.badlogic.gdx.Graphics
public int getHeight()
getHeight
in interface com.badlogic.gdx.Graphics
public int getBackBufferWidth()
getBackBufferWidth
in interface com.badlogic.gdx.Graphics
public int getBackBufferHeight()
getBackBufferHeight
in interface com.badlogic.gdx.Graphics
public float getDeltaTime()
getDeltaTime
in interface com.badlogic.gdx.Graphics
public float getRawDeltaTime()
getRawDeltaTime
in interface com.badlogic.gdx.Graphics
public int getFramesPerSecond()
getFramesPerSecond
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.GraphicsType getType()
getType
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.graphics.glutils.GLVersion getGLVersion()
getGLVersion
in interface com.badlogic.gdx.Graphics
public float getPpiX()
getPpiX
in interface com.badlogic.gdx.Graphics
public float getPpiY()
getPpiY
in interface com.badlogic.gdx.Graphics
public float getPpcX()
getPpcX
in interface com.badlogic.gdx.Graphics
public float getPpcY()
getPpcY
in interface com.badlogic.gdx.Graphics
public float getDensity()
getDensity
in interface com.badlogic.gdx.Graphics
public boolean supportsDisplayModeChange()
supportsDisplayModeChange
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.DisplayMode[] getDisplayModes()
getDisplayModes
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.DisplayMode getDisplayMode()
getDisplayMode
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.Monitor getPrimaryMonitor()
getPrimaryMonitor
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.Monitor getMonitor()
getMonitor
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.Monitor[] getMonitors()
getMonitors
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.DisplayMode[] getDisplayModes(com.badlogic.gdx.Graphics.Monitor monitor)
getDisplayModes
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.DisplayMode getDisplayMode(com.badlogic.gdx.Graphics.Monitor monitor)
getDisplayMode
in interface com.badlogic.gdx.Graphics
public boolean setFullscreenMode(com.badlogic.gdx.Graphics.DisplayMode displayMode)
setFullscreenMode
in interface com.badlogic.gdx.Graphics
public boolean setWindowedMode(int width, int height)
setWindowedMode
in interface com.badlogic.gdx.Graphics
public void setTitle(java.lang.String title)
setTitle
in interface com.badlogic.gdx.Graphics
public void setUndecorated(boolean undecorated)
setUndecorated
in interface com.badlogic.gdx.Graphics
public void setResizable(boolean resizable)
setResizable
in interface com.badlogic.gdx.Graphics
public void setVSync(boolean vsync)
setVSync
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.Graphics.BufferFormat getBufferFormat()
getBufferFormat
in interface com.badlogic.gdx.Graphics
public boolean supportsExtension(java.lang.String extension)
supportsExtension
in interface com.badlogic.gdx.Graphics
public void setContinuousRendering(boolean isContinuous)
setContinuousRendering
in interface com.badlogic.gdx.Graphics
public boolean isContinuousRendering()
isContinuousRendering
in interface com.badlogic.gdx.Graphics
public void requestRendering()
requestRendering
in interface com.badlogic.gdx.Graphics
public boolean isFullscreen()
isFullscreen
in interface com.badlogic.gdx.Graphics
public boolean isGL30Available()
isGL30Available
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.graphics.GL30 getGL30()
getGL30
in interface com.badlogic.gdx.Graphics
public long getFrameId()
getFrameId
in interface com.badlogic.gdx.Graphics
public com.badlogic.gdx.graphics.Cursor newCursor(com.badlogic.gdx.graphics.Pixmap pixmap, int xHotspot, int yHotspot)
newCursor
in interface com.badlogic.gdx.Graphics
public void setCursor(com.badlogic.gdx.graphics.Cursor cursor)
setCursor
in interface com.badlogic.gdx.Graphics
public void setSystemCursor(com.badlogic.gdx.graphics.Cursor.SystemCursor systemCursor)
setSystemCursor
in interface com.badlogic.gdx.Graphics