Class WGLARBCreateContextProfile

java.lang.Object
org.lwjgl.opengl.WGLARBCreateContextProfile

public final class WGLARBCreateContextProfile extends Object
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 Details

    • WGL_CONTEXT_PROFILE_MASK_ARB

      public static final int WGL_CONTEXT_PROFILE_MASK_ARB
      Accepted as an attribute name in attribList.
      See Also:
    • WGL_CONTEXT_CORE_PROFILE_BIT_ARB

      public static final int WGL_CONTEXT_CORE_PROFILE_BIT_ARB
      Accepted as bits in the attribute value for CONTEXT_PROFILE_MASK_ARB in attribList.
      See Also:
    • WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB

      public static final int WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB
      Accepted as bits in the attribute value for CONTEXT_PROFILE_MASK_ARB in attribList.
      See Also:
    • ERROR_INVALID_PROFILE_ARB

      public static final int ERROR_INVALID_PROFILE_ARB
      New errors returned by WinBase.GetLastError().
      See Also: