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

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

There is a newer version: 2.9.3
Show newest version
/* 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