|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.utility.commandline.BasicApplicationArguments
public class BasicApplicationArguments
An instance of this class can hold the basic application arguments for any Xith3D application.
| Constructor Summary | |
|---|---|
BasicApplicationArguments()
|
|
BasicApplicationArguments(OpenGLLayer layer,
DisplayMode displayMode,
DisplayMode.FullscreenMode fullscreen,
boolean vsync,
FSAA fsaa,
boolean mouseYInverted)
|
|
| Method Summary | |
|---|---|
CanvasConstructionInfo |
getCanvasConstructionInfo()
Constructs and returns a CanvasConstructionInfo from the selected values. |
int |
getColorDepth()
Returns the selected or the default color depth. |
float |
getConcreteMaxFPS()
Returns the selected or default maximum frames per second (FPS). |
DisplayMode |
getDisplayMode()
Returns the selected or the default DisplayMode. |
int |
getFrequency()
Returns the selected or the default frequency. |
FSAA |
getFSAA()
Returns the selected or the default FSAA. |
DisplayMode.FullscreenMode |
getFullscreenMode()
Returns the selected or the default FullscreenMode. |
java.lang.Float |
getMaxFPS()
Returns the selected or default maximum frames per second (FPS). |
boolean |
getMouseYInverted()
Returns the selected or the default mouse-y-inverted flag. |
OpenGLLayer |
getOpenGLLayer()
Returns the selected or the default OpenGLLayer. |
org.openmali.types.twodee.Sized2iRO |
getResolution()
Returns the selected or the default resolution. |
int |
getResolutionHeight()
Returns the selected or the default resolution height. |
int |
getResolutionWidth()
Returns the selected or the default resolution width. |
boolean |
getVSync()
Returns the selected or the default setting for vertical-sync. |
void |
setColorDepth(int bpp)
Sets the selected color depth. |
void |
setFrequency(int freq)
Sets the selected frequency. |
void |
setFSAA(FSAA fsaa)
Sets the selected FSAA. |
void |
setFullscreenMode(DisplayMode.FullscreenMode fullscreenMode)
Sets the selected FullscreenMode. |
void |
setMaxFPS(java.lang.Float maxFPS)
Sets the selected maximum frames per second (FPS). |
void |
setMouseYInverted(boolean inverted)
Sets the selected mouse-y-inverted flag. |
void |
setOpenGLLayer(OpenGLLayer oglLayer)
Sets the selected OpenGLLayer. |
void |
setResolution(int resX,
int resY)
Sets the selected resolution. |
void |
setVSync(boolean vsync)
Sets the selected setting for vertical-sync. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicApplicationArguments()
public BasicApplicationArguments(OpenGLLayer layer,
DisplayMode displayMode,
DisplayMode.FullscreenMode fullscreen,
boolean vsync,
FSAA fsaa,
boolean mouseYInverted)
| Method Detail |
|---|
public void setOpenGLLayer(OpenGLLayer oglLayer)
oglLayer - public final OpenGLLayer getOpenGLLayer()
public void setResolution(int resX,
int resY)
resX - resY - public final org.openmali.types.twodee.Sized2iRO getResolution()
public final int getResolutionWidth()
public final int getResolutionHeight()
public void setColorDepth(int bpp)
bpp - public final int getColorDepth()
public void setFrequency(int freq)
freq - public final int getFrequency()
public final DisplayMode getDisplayMode()
public void setFullscreenMode(DisplayMode.FullscreenMode fullscreenMode)
fullscreenMode. - public final DisplayMode.FullscreenMode getFullscreenMode()
public void setVSync(boolean vsync)
vsync. - public final boolean getVSync()
public void setFSAA(FSAA fsaa)
FSAA.
fsaa - public final FSAA getFSAA()
FSAA.
FSAA.public void setMouseYInverted(boolean inverted)
inverted - public final boolean getMouseYInverted()
public void setMaxFPS(java.lang.Float maxFPS)
maxFPS - (null for no limit)public final java.lang.Float getMaxFPS()
public final float getConcreteMaxFPS()
public final CanvasConstructionInfo getCanvasConstructionInfo()
CanvasConstructionInfo from the selected values.
CanvasConstructionInfo.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||