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

org.lwjgl.opengl.ARBColorBufferFloat 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 ARBColorBufferFloat {

	/**
	 *  Accepted by the <pname> parameters of GetBooleanv, GetIntegerv,
	 *  GetFloatv, and GetDoublev:
	 */
	public static final int GL_RGBA_FLOAT_MODE_ARB = 0x8820;

	/**
	 *  Accepted by the <target> parameter of ClampColorARB and the <pname>
	 *  parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
	 */
	public static final int GL_CLAMP_VERTEX_COLOR_ARB = 0x891A,
		GL_CLAMP_FRAGMENT_COLOR_ARB = 0x891B,
		GL_CLAMP_READ_COLOR_ARB = 0x891C;

	/**
	 * Accepted by the <clamp> parameter of ClampColorARB. 
	 */
	public static final int GL_FIXED_ONLY_ARB = 0x891D;

	/**
	 *  Accepted as a value in the <piAttribIList> and <pfAttribFList>
	 *  parameter arrays of wglChoosePixelFormatARB, and returned in the
	 *  <piValues> parameter array of wglGetPixelFormatAttribivARB, and the
	 *  <pfValues> parameter array of wglGetPixelFormatAttribfvARB:
	 */
	public static final int WGL_TYPE_RGBA_FLOAT_ARB = 0x21A0;

	/**
	 *  Accepted as values of the <render_type> arguments in the
	 *  glXCreateNewContext and glXCreateContext functions
	 */
	public static final int GLX_RGBA_FLOAT_TYPE = 0x20B9;

	/**
	 * Accepted as a bit set in the GLX_RENDER_TYPE variable 
	 */
	public static final int GLX_RGBA_FLOAT_BIT = 0x4;

	private ARBColorBufferFloat() {}

	public static void glClampColorARB(int target, int clamp) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glClampColorARB;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglClampColorARB(target, clamp, function_pointer);
	}
	static native void nglClampColorARB(int target, int clamp, long function_pointer);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy