public static class RoboPlatform.Config
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
frameInterval
Indicates the frequency at which the game should be rendered (and updated).
|
org.robovm.apple.glkit.GLKViewDrawableColorFormat |
glBufferFormat
Configures the format of the GL framebuffer.
|
boolean |
interpolateCanvasDrawing
If true, calls to CanvasImage.draw() on a retina device using a non-retina image as the
source will use the default interpolation defined for CGBitmapContext.
|
boolean |
iPadLikePhone
If true, an iPad will be treated like a 2x Retina device with resolution 384x512 and which
will use @2x images.
|
int |
openALSources
The number of audio channels to reserve for OpenAL.
|
org.robovm.apple.uikit.UIInterfaceOrientationMask |
orients
Indicates which orients are supported by your app.
|
java.lang.String |
storageFileName
Dictates the name of the temporary file used by
RoboStorage. |
int |
targetFPS
The desired frames per second for the app.
|
float |
timeForTermination
Seconds to wait for the game loop to terminate before terminating GL and AL services.
|
int |
wsDraft
Configure the web socket RFC draft number: 10, 17, 75 or 76
|
| Constructor and Description |
|---|
Config() |
public org.robovm.apple.uikit.UIInterfaceOrientationMask orients
Info.plist file.public boolean iPadLikePhone
public int frameInterval
public boolean interpolateCanvasDrawing
public int openALSources
public float timeForTermination
public org.robovm.apple.glkit.GLKViewDrawableColorFormat glBufferFormat
public int targetFPS
update
and paint calls to your app. Safe values are 30 or 0. I'm not sure
that iOS will honor other arbitrary frame rates.public java.lang.String storageFileName
RoboStorage. Configure this if you
want to embed multiple games into your application.public int wsDraft
Copyright © 2018. All Rights Reserved.