Package org.lwjgl.opengl
Class WGLARBCreateContextProfile
java.lang.Object
org.lwjgl.opengl.WGLARBCreateContextProfile
Native bindings to the WGL_ARB_create_context_profile extension.
Adds an attribute to WGLARBCreateContext
, specifying the GL profile requested for a context of OpenGL 3.2 or later.
Requires WGL_ARB_extensions_string
and OpenGL 3.2
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
New errors returned byWinBase.GetLastError()
.static final int
Accepted as bits in the attribute value forCONTEXT_PROFILE_MASK_ARB
inattribList
.static final int
Accepted as bits in the attribute value forCONTEXT_PROFILE_MASK_ARB
inattribList
.static final int
Accepted as an attribute name inattribList
. -
Method Summary
-
Field Details
-
WGL_CONTEXT_PROFILE_MASK_ARB
public static final int WGL_CONTEXT_PROFILE_MASK_ARBAccepted as an attribute name inattribList
.- See Also:
-
WGL_CONTEXT_CORE_PROFILE_BIT_ARB
public static final int WGL_CONTEXT_CORE_PROFILE_BIT_ARBAccepted as bits in the attribute value forCONTEXT_PROFILE_MASK_ARB
inattribList
.- See Also:
-
WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
public static final int WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARBAccepted as bits in the attribute value forCONTEXT_PROFILE_MASK_ARB
inattribList
.- See Also:
-
ERROR_INVALID_PROFILE_ARB
public static final int ERROR_INVALID_PROFILE_ARBNew errors returned byWinBase.GetLastError()
.- See Also:
-