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

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

Go to download

A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengles;

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

/**
 * 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 { protected NVTextureBarrier() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLESCapabilities caps) { return checkFunctions( caps.glTextureBarrierNV ); } // --- [ glTextureBarrierNV ] --- /** Guarantees that writes have completed and caches have been invalidated before subsequent Draws are executed. */ public static void glTextureBarrierNV() { long __functionAddress = GLES.getCapabilities().glTextureBarrierNV; if ( CHECKS ) checkFunctionAddress(__functionAddress); callV(__functionAddress); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy