Package | Description |
---|---|
org.lwjgl.opengl |
Modifier and Type | Method and Description |
---|---|
ContextAttribs |
ContextAttribs.withContextResetIsolation(boolean contextResetIsolation) |
ContextAttribs |
ContextAttribs.withDebug(boolean debug) |
ContextAttribs |
ContextAttribs.withForwardCompatible(boolean forwardCompatible) |
ContextAttribs |
ContextAttribs.withLayer(int layerPlane) |
ContextAttribs |
ContextAttribs.withLoseContextOnReset(boolean loseContextOnReset)
Returns a ContextAttribs instance with CONTEXT_RESET_NOTIFICATION_STRATEGY set
to LOSE_CONTEXT_ON_RESET if the parameter is true or to NO_RESET_NOTIFICATION
if the parameter is false.
|
ContextAttribs |
ContextAttribs.withProfileCompatibility(boolean profileCompatibility) |
ContextAttribs |
ContextAttribs.withProfileCore(boolean profileCore) |
ContextAttribs |
ContextAttribs.withProfileES(boolean profileES) |
Modifier and Type | Method and Description |
---|---|
static void |
Display.create(PixelFormat pixel_format,
ContextAttribs attribs)
Create the OpenGL context with the given minimum parameters.
|
static void |
Display.create(PixelFormat pixel_format,
Drawable shared_drawable,
ContextAttribs attribs)
Create the OpenGL context with the given minimum parameters.
|
void |
AWTGLCanvas.setPixelFormat(PixelFormatLWJGL pf,
ContextAttribs attribs) |
Constructor and Description |
---|
AWTGLCanvas(java.awt.GraphicsDevice device,
PixelFormat pixel_format,
Drawable drawable,
ContextAttribs attribs)
Create an AWTGLCanvas with the requested PixelFormat on the specified GraphicsDevice.
|
Pbuffer(int width,
int height,
PixelFormat pixel_format,
RenderTexture renderTexture,
Drawable shared_drawable,
ContextAttribs attribs)
Create an instance of a Pbuffer with a unique OpenGL context.
|
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.