LWJGL의 Disply 함수 표
Method Summary
Modifier and Type | Method and Description |
---|---|
static void | create() Create the OpenGL context. |
static void | create(PixelFormat pixel_format) Create the OpenGL context with the given minimum parameters. |
static void | create(PixelFormat pixel_format, ContextAttribs attribs) Create the OpenGL context with the given minimum parameters. |
static void | create(PixelFormat pixel_format, Drawable shared_drawable) Create the OpenGL context with the given minimum parameters. |
static void | create(PixelFormat pixel_format, Drawable shared_drawable, ContextAttribs attribs) Create the OpenGL context with the given minimum parameters. |
static void | create(PixelFormatLWJGL pixel_format) Create the OpenGL ES context with the given minimum parameters. |
static void | create(PixelFormatLWJGL pixel_format, ContextAttribs attribs) Create the OpenGL ES context with the given minimum parameters. |
static void | create(PixelFormatLWJGL pixel_format, Drawable shared_drawable) Create the OpenGL ES context with the given minimum parameters. |
static void | create(PixelFormatLWJGL pixel_format, Drawable shared_drawable, ContextAttribs attribs) Create the OpenGL ES context with the given minimum parameters. |
static void | destroy() Destroy the Display. |
static java.lang.String | getAdapter() Get the driver adapter string. |
static DisplayMode[] | getAvailableDisplayModes() Returns the entire list of possible fullscreen display modes as an array, in no particular order. |
static DisplayMode | getDesktopDisplayMode() Return the initial desktop display mode. |
static DisplayMode | getDisplayMode() Return the current display mode, as set by setDisplayMode(). |
static Drawable | getDrawable() Fetch the Drawable from the Display. |
static int | getHeight() |
static java.awt.Canvas | getParent() Return the last parent set with setParent(). |
static float | getPixelScaleFactor() |
static java.lang.String | getTitle() |
static java.lang.String | getVersion() Get the driver version. |
static int | getWidth() |
static int | getX() |
static int | getY() |
static boolean | isActive() |
static boolean | isCloseRequested() |
static boolean | isCreated() |
static boolean | isCurrent() Returns true if the Display's context is current in the current thread. |
static boolean | isDirty() Determine if the window's contents have been damaged by external events. |
static boolean | isFullscreen() |
static boolean | isResizable() |
static boolean | isVisible() |
static void | makeCurrent() Make the Display the current rendering context for GL calls. |
static void | processMessages() Process operating system events. |
static void | releaseContext() Release the Display context. |
static void | setDisplayConfiguration(float gamma, float brightness, float contrast) Set the display configuration to the specified gamma, brightness and contrast. |
static void | setDisplayMode(DisplayMode mode) Set the current display mode. |
static void | setDisplayModeAndFullscreen(DisplayMode mode) Set the mode of the context. |
static void | setFullscreen(boolean fullscreen) Set the fullscreen mode of the context. |
static int | setIcon(java.nio.ByteBuffer[] icons) Sets one or more icons for the Display. |
static void | setInitialBackground(float red, float green, float blue) Set the initial color of the Display. |
static void | setLocation(int new_x, int new_y) Set the window's location. |
static void | setParent(java.awt.Canvas parent) Set the parent of the Display. |
static void | setResizable(boolean resizable) Enable or disable the Display window to be resized. |
static void | setSwapInterval(int value) Set the buffer swap interval. |
static void | setTitle(java.lang.String newTitle) Set the title of the window. |
static void | setVSyncEnabled(boolean sync) Enable or disable vertical monitor synchronization. |
static void | swapBuffers() Swap the display buffers. |
static void | sync(int fps) An accurate sync method that will attempt to run at a constant frame rate. |
static void | update() Update the window. |
static void | update(boolean processMessages) Update the window. |
static boolean | wasResized() |
'프로그래밍 > Java' 카테고리의 다른 글
[LWJGL]Input (0) | 2016.02.19 |
---|---|
[LWJGL]Display (0) | 2016.02.19 |
2016/2/14 (0) | 2016.02.14 |
프로젝트 (0) | 2016.02.14 |
2016/2/12 Math.roundm,sqrt, 클래스변수와 인스턴스변수 (0) | 2016.02.12 |