Example usage for org.lwjgl.opengl ARBShadow GL_COMPARE_R_TO_TEXTURE_ARB

List of usage examples for org.lwjgl.opengl ARBShadow GL_COMPARE_R_TO_TEXTURE_ARB

Introduction

In this page you can find the example usage for org.lwjgl.opengl ARBShadow GL_COMPARE_R_TO_TEXTURE_ARB.

Prototype

int GL_COMPARE_R_TO_TEXTURE_ARB

To view the source code for org.lwjgl.opengl ARBShadow GL_COMPARE_R_TO_TEXTURE_ARB.

Click Source Link

Document

Accepted by the param parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the pname parameter is TEXTURE_COMPARE_MODE_ARB.

Usage

From source file:com.ardor3d.scene.state.lwjgl.util.LwjglTextureUtil.java

License:Open Source License

public static int getGLDepthTextureCompareMode(final DepthTextureCompareMode mode) {
    switch (mode) {
    case RtoTexture:
        return ARBShadow.GL_COMPARE_R_TO_TEXTURE_ARB;
    case None://from  ww  w  .j a  v a2  s.  c  o  m
    default:
        return GL11.GL_NONE;
    }
}