public class LWJGLWindow extends Window
| Modifier and Type | Field and Description |
|---|---|
protected int |
drawBuffer |
static org.slf4j.Logger |
LOGGER |
protected int |
readBuffer |
| Constructor and Description |
|---|
LWJGLWindow(Dimension copy) |
LWJGLWindow(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindAsRenderTarget(DataBinder binder)
Binds the object as render target.
|
void |
create(String title) |
void |
dispose() |
void |
enableResize(boolean enable) |
String |
getTitle() |
boolean |
isCloseRequested() |
void |
render() |
boolean |
resized()
This should set the width/height of the class
as well!
|
void |
setTitle(String title) |
factor2, fromBufferedImage, getHeight, getWidth, setHeight, setWidthpublic static final org.slf4j.Logger LOGGER
protected int drawBuffer
protected int readBuffer
public LWJGLWindow(Dimension copy)
public LWJGLWindow(int width,
int height)
public void enableResize(boolean enable)
enableResize in class Windowpublic boolean isCloseRequested()
isCloseRequested in class Windowpublic boolean resized()
Windowpublic void bindAsRenderTarget(DataBinder binder)
RenderTargetbinder - The binder used to set the objectCopyright © 2014. All rights reserved.