Uses of Class
org.lwjgl.opengl.ContextAttribs
-
Packages that use ContextAttribs Package Description org.lwjgl.opengl -
-
Uses of ContextAttribs in org.lwjgl.opengl
Methods in org.lwjgl.opengl that return ContextAttribs Modifier and Type Method Description ContextAttribs
ContextAttribs. withContextReleaseBehavior(int behavior)
Returns a ContextAttribs instance withCONTEXT_RELEASE_BEHABIOR_ARB
set to the given behavior.ContextAttribs
ContextAttribs. withContextResetIsolation(boolean contextResetIsolation)
Returns a newContextAttribs
instance with theCONTEXT_RESET_ISOLATION_BIT_ARB
bit inCONTEXT_FLAGS_ARB
set to the given value.ContextAttribs
ContextAttribs. withDebug(boolean debug)
Returns a newContextAttribs
instance with theCONTEXT_DEBUG_BIT_ARB
bit inCONTEXT_FLAGS_ARB
set to the given value.ContextAttribs
ContextAttribs. withForwardCompatible(boolean forwardCompatible)
Returns a newContextAttribs
instance with theCONTEXT_FORWARD_COMPATIBLE_BIT_ARB
bit inCONTEXT_FLAGS_ARB
set to the given value.ContextAttribs
ContextAttribs. withLayer(int layerPlane)
Returns a newContextAttribs
instance withCONTEXT_LAYER_PLANE_ARB
set to the given value.ContextAttribs
ContextAttribs. withLoseContextOnReset(boolean loseContextOnReset)
Deprecated.usewithResetNotificationStrategy(int)
insteadContextAttribs
ContextAttribs. withProfileCompatibility(boolean profileCompatibility)
Returns a newContextAttribs
instance with theCONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
bit inCONTEXT_PROFILE_MASK_ARB
set to the given value.ContextAttribs
ContextAttribs. withProfileCore(boolean profileCore)
Returns a newContextAttribs
instance with theCONTEXT_CORE_PROFILE_BIT_ARB
bit inCONTEXT_PROFILE_MASK_ARB
set to the given value.ContextAttribs
ContextAttribs. withProfileES(boolean profileES)
Returns a newContextAttribs
instance with theCONTEXT_ES2_PROFILE_BIT_EXT
bit inCONTEXT_PROFILE_MASK_ARB
set to the given value.ContextAttribs
ContextAttribs. withResetNotificationStrategy(int strategy)
Returns a ContextAttribs instance withCONTEXT_RESET_NOTIFICATION_STRATEGY_ARB
set to the given strategy.ContextAttribs
ContextAttribs. withRobustAccess(boolean robustAccess)
Returns a newContextAttribs
instance with theCONTEXT_ROBUST_ACCESS_BIT_ARB
bit inCONTEXT_FLAGS_ARB
set to the given value.Methods in org.lwjgl.opengl with parameters of type ContextAttribs Modifier and Type Method 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)
Constructors in org.lwjgl.opengl with parameters of type ContextAttribs Constructor Description AWTGLCanvas(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.
-