org.lwjgl.opengl.EXTBlendMinmax Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengl Show documentation
Show all versions of lwjgl-opengl Show documentation
The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
import org.lwjgl.system.*;
import static org.lwjgl.system.Checks.*;
/**
* Native bindings to the EXT_blend_minmax extension.
*
* Blending capability is extended by respecifying the entire blend equation. While this document defines only two new equations, the {@link #glBlendEquationEXT BlendEquationEXT}
* procedure that it defines will be used by subsequent extensions to define additional blending equations.
*
* The two new equations defined by this extension produce the minimum (or maximum) color components of the source and destination colors. Taking the
* maximum is useful for applications such as maximum projection in medical imaging.
*
* Promoted to core in {@link GL14 OpenGL 1.4}.
*/
public class EXTBlendMinmax {
/** Accepted by the {@code mode} parameter of BlendEquationEXT. */
public static final int
GL_FUNC_ADD_EXT = 0x8006,
GL_MIN_EXT = 0x8007,
GL_MAX_EXT = 0x8008;
/** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */
public static final int GL_BLEND_EQUATION_EXT = 0x8009;
static { GL.initialize(); }
protected EXTBlendMinmax() {
throw new UnsupportedOperationException();
}
static boolean isAvailable(GLCapabilities caps) {
return checkFunctions(
caps.glBlendEquationEXT
);
}
// --- [ glBlendEquationEXT ] ---
public static native void glBlendEquationEXT(@NativeType("GLenum") int mode);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy