public class IOSGraphics extends org.robovm.apple.foundation.NSObject implements Graphics, org.robovm.apple.glkit.GLKViewDelegate, org.robovm.apple.glkit.GLKViewControllerDelegate
| Modifier and Type | Class and Description |
|---|---|
static class |
IOSGraphics.IOSUIViewController |
org.robovm.apple.foundation.NSObject.Marshaler, org.robovm.apple.foundation.NSObject.NoRetainMarshaler, org.robovm.apple.foundation.NSObject.NSKeyValueObserver, org.robovm.apple.foundation.NSObject.NSObjectPtrorg.robovm.objc.ObjCObject.ObjCObjectPtr, org.robovm.objc.ObjCObject.SuperGraphics.BufferFormat, Graphics.DisplayMode, Graphics.GraphicsType, Graphics.Monitor| Constructor and Description |
|---|
IOSGraphics(float scale,
IOSApplication app,
IOSApplicationConfiguration config,
IOSInput input,
boolean useGLES30) |
addKeyValueObserver, addKeyValueObserver, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, equals, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuespublic IOSGraphics(float scale,
IOSApplication app,
IOSApplicationConfiguration config,
IOSInput 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.GLKViewDelegatepublic void update(org.robovm.apple.glkit.GLKViewController controller)
update in interface org.robovm.apple.glkit.GLKViewControllerDelegatepublic void willPause(org.robovm.apple.glkit.GLKViewController controller,
boolean pause)
willPause in interface org.robovm.apple.glkit.GLKViewControllerDelegatepublic boolean isGL30Available()
isGL30Available in interface Graphicspublic int getBackBufferWidth()
getBackBufferWidth in interface Graphicspublic int getBackBufferHeight()
getBackBufferHeight in interface Graphicspublic float getDeltaTime()
getDeltaTime in interface Graphicspublic float getRawDeltaTime()
getRawDeltaTime in interface Graphicspublic int getFramesPerSecond()
getFramesPerSecond in interface Graphicspublic Graphics.GraphicsType getType()
public GLVersion getGLVersion()
getGLVersion in interface Graphicspublic float getDensity()
getDensity in interface Graphicspublic boolean supportsDisplayModeChange()
supportsDisplayModeChange in interface Graphicspublic Graphics.DisplayMode[] getDisplayModes()
getDisplayModes in interface Graphicspublic Graphics.DisplayMode getDisplayMode()
getDisplayMode 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(Graphics.Monitor monitor)
getDisplayModes 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 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 long getFrameId()
getFrameId in interface Graphicspublic void setSystemCursor(Cursor.SystemCursor systemCursor)
setSystemCursor in interface GraphicsCopyright © 2020. All rights reserved.