OpenGL.GL.NV.depth_buffer_float | index /home/mcfletch/pylive/OpenGL/GL/NV/depth_buffer_float.py |
OpenGL extension NV.depth_buffer_float
This module customises the behaviour of the
OpenGL.raw.GL.NV.depth_buffer_float to provide a more
Python-friendly API
Overview (from the spec)
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].
By default, OpenGL entry points taking depth values implicitly clamp the
values to the range [0,1]. This extension provides new DepthClear,
DepthRange, and DepthBoundsEXT entry points that allow applications to
specify depth values that are not clamped.
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.
This extension does not provide support for WGL or GLX pixel formats with
floating-point depth buffers. The existing (but not commonly used)
WGL_EXT_depth_float extension could be used for this purpose.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/NV/depth_buffer_float.txt
Modules | ||||||
|
Data | ||
EXTENSION_NAME = 'GL_NV_depth_buffer_float' GL_DEPTH32F_STENCIL8_NV = GL_DEPTH32F_STENCIL8_NV GL_DEPTH_BUFFER_FLOAT_MODE_NV = GL_DEPTH_BUFFER_FLOAT_MODE_NV GL_DEPTH_COMPONENT32F_NV = GL_DEPTH_COMPONENT32F_NV GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV = GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV __file__ = '/home/mcfletch/pylive/OpenGL/GL/NV/depth_buffer_float.pyc' __name__ = 'OpenGL.GL.NV.depth_buffer_float' __package__ = 'OpenGL.GL.NV' glClearDepthdNV = <OpenGL.platform.baseplatform.glClearDepthdNV object at 0x78ddad0> glDepthBoundsdNV = <OpenGL.platform.baseplatform.glDepthBoundsdNV object at 0x78ddb90> glDepthRangedNV = <OpenGL.platform.baseplatform.glDepthRangedNV object at 0x78d8ed0> |