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

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

/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengl;

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(int mode); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy