use of com.jme3.system.AppSettings in project jmonkeyengine by jMonkeyEngine.
the class TestMultiPostWater method main.
public static void main(String[] args) {
TestMultiPostWater app = new TestMultiPostWater();
AppSettings s = new AppSettings(true);
s.setRenderer(AppSettings.LWJGL_OPENGL2);
s.setAudioRenderer(AppSettings.LWJGL_OPENAL);
//
// s.setRenderer("JOGL");
// s.setAudioRenderer("JOAL");
app.setSettings(s);
app.start();
}
use of com.jme3.system.AppSettings in project jmonkeyengine by jMonkeyEngine.
the class JmeIosSystem method newContext.
@Override
public JmeContext newContext(AppSettings settings, JmeContext.Type contextType) {
initialize(settings);
JmeContext ctx = null;
if (settings.getRenderer() == null || settings.getRenderer().equals("NULL") || contextType == JmeContext.Type.Headless) {
ctx = new NullContext();
ctx.setSettings(settings);
} else {
ctx = new IGLESContext();
ctx.setSettings(settings);
}
return ctx;
}
use of com.jme3.system.AppSettings in project jmonkeyengine by jMonkeyEngine.
the class JmeIosSystem method newAudioRenderer.
@Override
public AudioRenderer newAudioRenderer(AppSettings settings) {
ALC alc = new IosALC();
AL al = new IosAL();
//EFX efx = new IosEFX();
return new ALAudioRenderer(al, alc, null);
}
use of com.jme3.system.AppSettings in project jmonkeyengine by jMonkeyEngine.
the class TestInstanceNode method main.
public static void main(String[] args) {
TestInstanceNode app = new TestInstanceNode();
AppSettings settings = new AppSettings(true);
settings.setVSync(false);
app.setSettings(settings);
app.start();
}
use of com.jme3.system.AppSettings in project jmonkeyengine by jMonkeyEngine.
the class TestAppStates method start.
@Override
public void start(JmeContext.Type contextType) {
AppSettings settings = new AppSettings(true);
settings.setResolution(1024, 768);
setSettings(settings);
super.start(contextType);
}
Aggregations