org.lwjgl.opengl.ARBTextureBarrier 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;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
/**
* Native bindings to the ARB_texture_barrier extension.
*
* This extension relaxes the restrictions on rendering to a currently bound texture and provides a mechanism to avoid read-after-write hazards.
*
* Promoted to core in {@link GL45 OpenGL 4.5}.
*/
public class ARBTextureBarrier {
static { GL.initialize(); }
protected ARBTextureBarrier() {
throw new UnsupportedOperationException();
}
static boolean isAvailable(GLCapabilities caps) {
return checkFunctions(
caps.glTextureBarrier
);
}
// --- [ glTextureBarrier ] ---
/** Guarantees that writes have completed and caches have been invalidated before subsequent Draws are executed. */
public static native void glTextureBarrier();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy