Package org.lwjgl.opengl
Class ARBShadow
java.lang.Object
org.lwjgl.opengl.ARBShadow
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
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by theparamparameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when thepnameparameter is TEXTURE_COMPARE_MODE_ARB.static final intAccepted by thepnameparameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.static final intAccepted by thepnameparameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv. -
Method Summary
-
Field Details
-
GL_TEXTURE_COMPARE_MODE_ARB
public static final int GL_TEXTURE_COMPARE_MODE_ARBAccepted by thepnameparameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.- See Also:
-
GL_TEXTURE_COMPARE_FUNC_ARB
public static final int GL_TEXTURE_COMPARE_FUNC_ARBAccepted by thepnameparameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.- See Also:
-
GL_COMPARE_R_TO_TEXTURE_ARB
public static final int GL_COMPARE_R_TO_TEXTURE_ARBAccepted by theparamparameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when thepnameparameter is TEXTURE_COMPARE_MODE_ARB.- See Also:
-