OpenVDB  11.0.0
Public Member Functions | List of all members
DitherLUT Class Reference

#include <nanovdb/util/DitherLUT.h>

Public Member Functions

__hostdev__ DitherLUT (bool enable=true)
 Constructor with an optional scaling factor for the dithering. More...
 
__hostdev__ float operator() (const int offset)
 Retrieves dither threshold for an offset within an 8^3 leaf nodes. More...
 

Constructor & Destructor Documentation

__hostdev__ DitherLUT ( bool  enable = true)
inline

Constructor with an optional scaling factor for the dithering.

Member Function Documentation

__hostdev__ float operator() ( const int  offset)
inline

Retrieves dither threshold for an offset within an 8^3 leaf nodes.

Parameters
offsetinto the lookup table of size 512