Class EXTPackedFloat


  • public final class EXTPackedFloat
    extends java.lang.Object
    Native bindings to the EXT_packed_float extension.

    This extension adds a new 3-component floating-point texture format that fits within a single 32-bit word. This format stores 5 bits of biased exponent per component in the same manner as 16-bit floating-point formats, but rather than 10 mantissa bits, the red, green, and blue components have 6, 6, and 5 bits respectively. Each mantissa is assumed to have an implied leading one except in the denorm exponent case. There is no sign bit so only non-negative values can be represented. Positive infinity, positive denorms, and positive NaN values are representable. The value of the fourth component returned by a texture fetch is always 1.0.

    This extension also provides support for rendering into an unsigned floating-point rendering format with the assumption that the texture format described above could also be advertised as an unsigned floating-point format for rendering.

    The extension also provides a pixel external format for specifying packed float values directly.

    Promoted to core in OpenGL 3.0.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int GL_R11F_G11F_B10F_EXT
      Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorageEXT.
      static int GL_RGBA_SIGNED_COMPONENTS_EXT
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      static int GL_UNSIGNED_INT_10F_11F_11F_REV_EXT
      Accepted by the type parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • GL_R11F_G11F_B10F_EXT

        public static final int GL_R11F_G11F_B10F_EXT
        Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorageEXT.
        See Also:
        Constant Field Values
      • GL_UNSIGNED_INT_10F_11F_11F_REV_EXT

        public static final int GL_UNSIGNED_INT_10F_11F_11F_REV_EXT
        Accepted by the type parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, GetTexImage, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, GetHistogram, GetMinmax, ConvolutionFilter1D, ConvolutionFilter2D, ConvolutionFilter3D, GetConvolutionFilter, SeparableFilter2D, GetSeparableFilter, ColorTable, ColorSubTable, and GetColorTable.
        See Also:
        Constant Field Values
      • GL_RGBA_SIGNED_COMPONENTS_EXT

        public static final int GL_RGBA_SIGNED_COMPONENTS_EXT
        Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
        See Also:
        Constant Field Values