org.lwjgl.opengl.KHRNoError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.lwjgl.opengl Show documentation
Show all versions of org.lwjgl.opengl Show documentation
LWJGL OSGi bundle (OpenGL bindings)
/*
* 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 KHR_no_error extension.
*
* With this extension enabled any behavior that generates a GL error will have undefined behavior. The reason this extension exists is performance can be
* increased and power usage decreased. When this mode is used, a GL driver can have undefined behavior where it would have generated a GL error without
* this extension. This could include application termination. In general this extension should be used after you have verified all the GL errors are
* removed, and an application is not the kind that would check for GL errors and adjust behavior based on those errors.
*
* Requires {@link GL20 OpenGL 2.0}.
*/
public final class KHRNoError {
/** If set in {@link GL30#GL_CONTEXT_FLAGS CONTEXT_FLAGS}, then no error behavior is enabled for this context. */
public static final int GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR = 0x8;
private KHRNoError() {}
}