org.lwjgl.opengles.EXTDiscardFramebuffer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl Show documentation
Show all versions of lwjgl Show documentation
Lighweight Java Game Library
/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengles;
import org.lwjgl.*;
import java.nio.*;
public final class EXTDiscardFramebuffer {
/**
* Accepted in the <attachments> parameter of DiscardFramebufferEXT when the
* default framebuffer is bound to <target>:
*/
public static final int GL_COLOR_EXT = 0x1800,
GL_DEPTH_EXT = 0x1801,
GL_STENCIL_EXT = 0x1802;
private EXTDiscardFramebuffer() {}
static native void initNativeStubs() throws LWJGLException;
public static void glDiscardFramebufferEXT(int target, IntBuffer attachments) {
BufferChecks.checkDirect(attachments);
nglDiscardFramebufferEXT(target, attachments.remaining(), MemoryUtil.getAddress(attachments));
}
static native void nglDiscardFramebufferEXT(int target, int attachments_numAttachments, long attachments);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy