Class ARBShadow

java.lang.Object
org.lwjgl.opengl.ARBShadow

public final class ARBShadow extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Accepted by the param parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the pname parameter is TEXTURE_COMPARE_MODE_ARB.
    static final int
    Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
    static final int
    Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
  • Method Summary

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • GL_TEXTURE_COMPARE_MODE_ARB

      public static final int GL_TEXTURE_COMPARE_MODE_ARB
      Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
      See Also:
    • GL_TEXTURE_COMPARE_FUNC_ARB

      public static final int GL_TEXTURE_COMPARE_FUNC_ARB
      Accepted by the pname parameter 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_ARB
      Accepted by the param parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the pname parameter is TEXTURE_COMPARE_MODE_ARB.
      See Also: