Package | Description |
---|---|
org.lwjgl.opengl |
Modifier and Type | Method and Description |
---|---|
ContextAttribs |
ContextAttribs.withContextReleaseBehavior(int behavior)
Returns a ContextAttribs instance with
CONTEXT_RELEASE_BEHABIOR_ARB set to the given behavior. |
ContextAttribs |
ContextAttribs.withContextResetIsolation(boolean contextResetIsolation)
Returns a new
ContextAttribs instance with the CONTEXT_RESET_ISOLATION_BIT_ARB bit in CONTEXT_FLAGS_ARB set to the given value. |
ContextAttribs |
ContextAttribs.withDebug(boolean debug)
Returns a new
ContextAttribs instance with the CONTEXT_DEBUG_BIT_ARB bit in CONTEXT_FLAGS_ARB set to the given value. |
ContextAttribs |
ContextAttribs.withForwardCompatible(boolean forwardCompatible)
Returns a new
ContextAttribs instance with the CONTEXT_FORWARD_COMPATIBLE_BIT_ARB bit in CONTEXT_FLAGS_ARB set to the given value. |
ContextAttribs |
ContextAttribs.withLayer(int layerPlane)
Returns a new
ContextAttribs instance with CONTEXT_LAYER_PLANE_ARB set to the given value. |
ContextAttribs |
ContextAttribs.withLoseContextOnReset(boolean loseContextOnReset)
Deprecated.
use
withResetNotificationStrategy(int) instead |
ContextAttribs |
ContextAttribs.withProfileCompatibility(boolean profileCompatibility)
Returns a new
ContextAttribs instance with the CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB bit in CONTEXT_PROFILE_MASK_ARB set to the given value. |
ContextAttribs |
ContextAttribs.withProfileCore(boolean profileCore)
Returns a new
ContextAttribs instance with the CONTEXT_CORE_PROFILE_BIT_ARB bit in CONTEXT_PROFILE_MASK_ARB set to the given value. |
ContextAttribs |
ContextAttribs.withProfileES(boolean profileES)
Returns a new
ContextAttribs instance with the CONTEXT_ES2_PROFILE_BIT_EXT bit in CONTEXT_PROFILE_MASK_ARB set to the given value. |
ContextAttribs |
ContextAttribs.withResetNotificationStrategy(int strategy)
Returns a ContextAttribs instance with
CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB set to the given strategy. |
ContextAttribs |
ContextAttribs.withRobustAccess(boolean robustAccess)
Returns a new
ContextAttribs instance with the CONTEXT_ROBUST_ACCESS_BIT_ARB bit in CONTEXT_FLAGS_ARB set to the given value. |
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.