All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.NVTextureBarrier Maven / Gradle / Ivy

/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengl;

import static org.lwjgl.system.Checks.*;

/**
 * Native bindings to the NV_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.

*/ public class NVTextureBarrier { static { GL.initialize(); } protected NVTextureBarrier() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLCapabilities caps) { return checkFunctions( caps.glTextureBarrierNV ); } // --- [ glTextureBarrierNV ] --- /** Guarantees that writes have completed and caches have been invalidated before subsequent Draws are executed. */ public static native void glTextureBarrierNV(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy