Template Class OpenGLDepth2LinearLUTs
Defined in File OpenGLDepth2LinearLUTs.h
Nested Relationships
Nested Types
Class Documentation
-
template<int DEPTH_LUT_NUM_BITS = 18>
class OpenGLDepth2LinearLUTs Creates look-up-tables (LUTs) to map raw OpenGL depth values in the range [-1,1] to real, linear, depth values.
See also
Public Types
-
using lut_t = std::vector<float>
Public Static Functions
-
static inline OpenGLDepth2LinearLUTs &Instance()
Public Static Attributes
-
static constexpr std::size_t NUM_ENTRIES = 1 << DEPTH_LUT_NUM_BITS
-
using lut_t = std::vector<float>