public class GwtApplicationConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
antialiasing
whether to enable antialiasing
|
java.lang.String |
canvasId
the id of a canvas element to be used as the drawing area, can be null in which case a Panel and Canvas are added to the
body element of the DOM
|
int |
fps
the framerate to run the game at
|
int |
height
the height of the drawing area in pixels
|
TextArea |
log
a TextArea to log messages to, can be null in which case a TextArea will be added to the body element of the DOM.
|
boolean |
preferFlash
whether SoundManager2 should prefer to use flash instead of html5 audio (it should fall back if not available)
|
boolean |
preserveDrawingBuffer
preserve the back buffer, needed if you fetch a screenshot via canvas#toDataUrl, may have performance impact
|
Panel |
rootPanel
the Panel to add the WebGL canvas to, can be null in which case a Panel is added automatically to the body element of the
DOM
|
boolean |
stencil
whether to use a stencil buffer
|
boolean |
useDebugGL
whether to use debugging mode for OpenGL calls.
|
int |
width
the width of the drawing area in pixels
|
Constructor and Description |
---|
GwtApplicationConfiguration(int width,
int height) |
public int width
public int height
public boolean stencil
public boolean antialiasing
public int fps
public Panel rootPanel
public java.lang.String canvasId
public TextArea log
public boolean useDebugGL
public boolean preferFlash
public boolean preserveDrawingBuffer