Class EXTShadowSamplers



  • public final class EXTShadowSamplers
    extends java.lang.Object
    Native bindings to the EXT_shadow_samplers extension.

    This extension supports comparing the texture R coordinate to a depth texture value returning the result as a float value in the range [0,1]. This can be used to implement shadow maps.

    Requires GLES 2.0.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int GL_COMPARE_REF_TO_TEXTURE_EXT
      Accepted by the param parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the pname parameter is TEXTURE_COMPARE_MODE_EXT.
      static int GL_SAMPLER_2D_SHADOW_EXT
      Returned in type by glGetActiveUniform.
      static int GL_TEXTURE_COMPARE_FUNC_EXT
      GL_TEXTURE_COMPARE_MODE_EXT
      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 Detail

      • GL_TEXTURE_COMPARE_MODE_EXT

        public static final int GL_TEXTURE_COMPARE_MODE_EXT
        Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
        See Also:
        Constant Field Values
      • GL_TEXTURE_COMPARE_FUNC_EXT

        public static final int GL_TEXTURE_COMPARE_FUNC_EXT
        Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
        See Also:
        Constant Field Values
      • GL_COMPARE_REF_TO_TEXTURE_EXT

        public static final int GL_COMPARE_REF_TO_TEXTURE_EXT
        Accepted by the param parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the pname parameter is TEXTURE_COMPARE_MODE_EXT.
        See Also:
        Constant Field Values
      • GL_SAMPLER_2D_SHADOW_EXT

        public static final int GL_SAMPLER_2D_SHADOW_EXT
        Returned in type by glGetActiveUniform.
        See Also:
        Constant Field Values