Class ARBDepthBufferFloat

java.lang.Object
org.lwjgl.opengl.ARBDepthBufferFloat

public final class ARBDepthBufferFloat extends Object
Native bindings to the ARB_depth_buffer_float extension.

This extension provides new texture internal formats whose depth components are stored as 32-bit floating-point values, rather than the normalized unsigned integers used in existing depth formats. Floating-point depth textures support all the functionality supported for fixed-point depth textures, including shadow mapping and rendering support via EXT_framebuffer_object. Floating-point depth textures can store values outside the range [0,1].

Additionally, this extension provides new packed depth/stencil pixel formats (see EXT_packed_depth_stencil) that have 64-bit pixels consisting of a 32-bit floating-point depth value, 8 bits of stencil, and 24 unused bites. A packed depth/stencil texture internal format is also provided.

Requires OpenGL 2.0, ARB_color_buffer_float, EXT_packed_depth_stencil and ARB_framebuffer_object. Promoted to core in OpenGL 3.0.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorageEXT, and returned in the data parameter of GetTexLevelParameter and GetRenderbufferParameterivEXT.
    static final int
    Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorageEXT, and returned in the data parameter of GetTexLevelParameter and GetRenderbufferParameterivEXT.
    static final int
    Accepted by the type parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • GL_DEPTH_COMPONENT32F

      public static final int GL_DEPTH_COMPONENT32F
      Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorageEXT, and returned in the data parameter of GetTexLevelParameter and GetRenderbufferParameterivEXT.
      See Also:
    • GL_DEPTH32F_STENCIL8

      public static final int GL_DEPTH32F_STENCIL8
      Accepted by the internalformat parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, CopyTexImage2D, and RenderbufferStorageEXT, and returned in the data parameter of GetTexLevelParameter and GetRenderbufferParameterivEXT.
      See Also:
    • GL_FLOAT_32_UNSIGNED_INT_24_8_REV

      public static final int GL_FLOAT_32_UNSIGNED_INT_24_8_REV
      Accepted by the type parameter of DrawPixels, ReadPixels, TexImage1D, TexImage2D, TexImage3D, TexSubImage1D, TexSubImage2D, TexSubImage3D, and GetTexImage.
      See Also: