org.lwjgl.opengl.NVAlphaToCoverageDitherControl 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 NV_alpha_to_coverage_dither_control extension.
*
* {@code NV_alpha_to_coverage_dither_control} provides a new mechanism to control whether dithering is applied when the existing alpha to coverage
* functionality is used.
*/
public class NVAlphaToCoverageDitherControl {
/** Accepted by the {@code param} parameter of {@link #glAlphaToCoverageDitherControlNV AlphaToCoverageDitherControlNV}. */
public static final int
GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV = 0x934D,
GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV = 0x934E,
GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV = 0x934F;
/** Accepted by the {@code param} of {@link GL11#glGetIntegerv GetIntegerv}. */
public static final int GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV = 0x92BF;
static { GL.initialize(); }
protected NVAlphaToCoverageDitherControl() {
throw new UnsupportedOperationException();
}
static boolean isAvailable(GLCapabilities caps) {
return checkFunctions(
caps.glAlphaToCoverageDitherControlNV
);
}
// --- [ glAlphaToCoverageDitherControlNV ] ---
public static native void glAlphaToCoverageDitherControlNV(@NativeType("GLenum") int mode);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy