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

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

There is a newer version: 2.9.3
Show newest version
/* MACHINE GENERATED FILE, DO NOT EDIT */

package org.lwjgl.opengl;

import org.lwjgl.*;
import java.nio.*;

public final class EXTFramebufferMultisample {

	/**
	 * Accepted by the <pname> parameter of GetRenderbufferParameterivEXT. 
	 */
	public static final int GL_RENDERBUFFER_SAMPLES_EXT = 0x8CAB;

	/**
	 * Returned by CheckFramebufferStatusEXT. 
	 */
	public static final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT = 0x8D56;

	/**
	 *  Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
	 *  GetFloatv, and GetDoublev.
	 */
	public static final int GL_MAX_SAMPLES_EXT = 0x8D57;

	private EXTFramebufferMultisample() {}

	/**
	 *  Establishes the data storage, format, dimensions, and number of
	 *  samples of a renderbuffer object's image.
	 */
	public static void glRenderbufferStorageMultisampleEXT(int target, int samples, int internalformat, int width, int height) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glRenderbufferStorageMultisampleEXT;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglRenderbufferStorageMultisampleEXT(target, samples, internalformat, width, height, function_pointer);
	}
	static native void nglRenderbufferStorageMultisampleEXT(int target, int samples, int internalformat, int width, int height, long function_pointer);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy