public final class Display
extends java.lang.Object
| Constructor and Description |
|---|
Display() |
| Modifier and Type | Method and Description |
|---|---|
static org.lwjgl.opengl.DisplayMode[] |
getAvailableDisplayModes(int minWidth,
int minHeight,
int maxWidth,
int maxHeight,
int minBPP,
int maxBPP,
int minFreq,
int maxFreq)
Determine the available display modes that match the specified minimum and maximum criteria.
|
static org.lwjgl.opengl.DisplayMode |
setDisplayMode(org.lwjgl.opengl.DisplayMode[] dm,
java.lang.String[] param)
Create the display by choosing from a list of display modes based on an order of preference.
|
public static org.lwjgl.opengl.DisplayMode[] getAvailableDisplayModes(int minWidth,
int minHeight,
int maxWidth,
int maxHeight,
int minBPP,
int maxBPP,
int minFreq,
int maxFreq)
throws org.lwjgl.LWJGLException
minWidth - the minimum display resolution in pixelsminHeight - the minimum display resolution in pixelsmaxWidth - the maximum display resolution in pixelsmaxHeight - the maximum display resolution in pixelsminBPP - the minimum bit depth per pixelmaxBPP - the maximum bit depth per pixelminFreq - the minimum display frequency in HzmaxFreq - the maximum display frequency in Hzorg.lwjgl.LWJGLExceptionpublic static org.lwjgl.opengl.DisplayMode setDisplayMode(org.lwjgl.opengl.DisplayMode[] dm,
java.lang.String[] param)
throws java.lang.Exception
dm - a list of display modes to choose fromparam - the names of the DisplayMode fields in the order in which you would like them sorted.java.lang.NoSuchFieldException - if one of the params is not a field in DisplayModejava.lang.Exception - if no display mode could be setDisplayModeCopyright © 2002-2010 lwjgl.org. All Rights Reserved.