org.lwjgl.opengl.WGLARBCreateContextProfile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengl Show documentation
Show all versions of lwjgl-opengl Show documentation
The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
/**
* Native bindings to the WGL_ARB_create_context_profile extension.
*
* Adds an attribute to {@link WGLARBCreateContext}, specifying the GL profile requested for a context of OpenGL 3.2 or later.
*
* Requires {@link WGLARBExtensionsString WGL_ARB_extensions_string} and {@link GL32 OpenGL 3.2}.
*/
public final class WGLARBCreateContextProfile {
/** Accepted as an attribute name in {@code attribList}. */
public static final int WGL_CONTEXT_PROFILE_MASK_ARB = 0x9126;
/** Accepted as bits in the attribute value for {@link #WGL_CONTEXT_PROFILE_MASK_ARB CONTEXT_PROFILE_MASK_ARB} in {@code attribList}. */
public static final int
WGL_CONTEXT_CORE_PROFILE_BIT_ARB = 0x1,
WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB = 0x2;
/** New errors returned by {@link org.lwjgl.system.windows.WinBase#GetLastError}. */
public static final int ERROR_INVALID_PROFILE_ARB = 0x2096;
private WGLARBCreateContextProfile() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy