Top Description Fields Constructors Methods
org.lwjgl.opengl

public final Class ARBShadow

extends Object
Class Inheritance

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 ARB_depth_texture. Promoted to core in OpenGL 1.4.

Field Summary

Modifier and TypeField and Description
public static final int
GL_COMPARE_R_TO_TEXTURE_ARB

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

public static final int
GL_TEXTURE_COMPARE_FUNC_ARB

Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.

public static final int
GL_TEXTURE_COMPARE_MODE_ARB

Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_COMPARE_R_TO_TEXTURE_ARBback to summary
public static final int GL_COMPARE_R_TO_TEXTURE_ARB

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

GL_TEXTURE_COMPARE_FUNC_ARBback to summary
public static final int GL_TEXTURE_COMPARE_FUNC_ARB

Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.

GL_TEXTURE_COMPARE_MODE_ARBback to summary
public static final int GL_TEXTURE_COMPARE_MODE_ARB

Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.

Constructor Detail

ARBShadowback to summary
private ARBShadow()