org.lwjgl.opengles.NVAlphaToCoverageDitherControl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengles Show documentation
Show all versions of lwjgl-opengles Show documentation
A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengles;
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 GLES20#glGetIntegerv GetIntegerv}. */
public static final int GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV = 0x92BF;
static { GLES.initialize(); }
protected NVAlphaToCoverageDitherControl() {
throw new UnsupportedOperationException();
}
static boolean isAvailable(GLESCapabilities caps) {
return checkFunctions(
caps.glAlphaToCoverageDitherControlNV
);
}
// --- [ glAlphaToCoverageDitherControlNV ] ---
public static native void glAlphaToCoverageDitherControlNV(@NativeType("GLenum") int mode);
}