public class PlatformWin32GLCanvas extends Object implements PlatformGLCanvas
PlatformGLCanvas.| Modifier and Type | Field and Description |
|---|---|
static org.lwjgl.system.jawt.JAWT |
awt |
org.lwjgl.system.jawt.JAWTDrawingSurface |
ds |
long |
hwnd |
long |
wglDelayBeforeSwapNVAddr |
boolean |
wglDelayBeforeSwapNVAddr_set |
| Constructor and Description |
|---|
PlatformWin32GLCanvas() |
| Modifier and Type | Method and Description |
|---|---|
long |
create(Canvas canvas,
GLData attribs,
GLData effective) |
boolean |
delayBeforeSwapNV(float seconds) |
boolean |
deleteContext(long context) |
void |
dispose() |
boolean |
isCurrent(long context) |
void |
lock() |
boolean |
makeCurrent(long context) |
boolean |
swapBuffers() |
void |
unlock() |
public static final org.lwjgl.system.jawt.JAWT awt
public long hwnd
public long wglDelayBeforeSwapNVAddr
public boolean wglDelayBeforeSwapNVAddr_set
public org.lwjgl.system.jawt.JAWTDrawingSurface ds
public long create(Canvas canvas, GLData attribs, GLData effective) throws AWTException
create in interface PlatformGLCanvasAWTExceptionpublic boolean isCurrent(long context)
isCurrent in interface PlatformGLCanvaspublic boolean makeCurrent(long context)
makeCurrent in interface PlatformGLCanvaspublic boolean deleteContext(long context)
deleteContext in interface PlatformGLCanvaspublic boolean swapBuffers()
swapBuffers in interface PlatformGLCanvaspublic boolean delayBeforeSwapNV(float seconds)
delayBeforeSwapNV in interface PlatformGLCanvaspublic void lock()
throws AWTException
lock in interface PlatformGLCanvasAWTExceptionpublic void unlock()
throws AWTException
unlock in interface PlatformGLCanvasAWTExceptionpublic void dispose()
dispose in interface PlatformGLCanvasCopyright © 2016–2019 LWJGLX. All rights reserved.