org.lwjgl.opengl.ARBShadow 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;
/**
* Native bindings to the ARB_shadow extension.
*
* This extension supports comparing the texture R coordinate to a depth texture value in order to produce a boolean texture value. This can be used to
* implement shadow maps.
*
* The extension is written in generic terms such that other texture comparison modes can be accommodated in the future.
*
* Requires {@link ARBDepthTexture ARB_depth_texture}. Promoted to core in {@link GL14 OpenGL 1.4}.
*/
public final class ARBShadow {
/** Accepted by the {@code pname} parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv. */
public static final int
GL_TEXTURE_COMPARE_MODE_ARB = 0x884C,
GL_TEXTURE_COMPARE_FUNC_ARB = 0x884D;
/**
* Accepted by the {@code param} parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the {@code pname} parameter is
* TEXTURE_COMPARE_MODE_ARB.
*/
public static final int GL_COMPARE_R_TO_TEXTURE_ARB = 0x884E;
private ARBShadow() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy