#include </private/tmp/openvdb-20240426-83310-mrqm9y/openvdb-11.0.0/nanovdb/nanovdb/util/DitherLUT.h>
|
__hostdev__ | DitherLUT (bool enable=true) |
| Constructor with an optional scaling factor for the dithering.
|
|
__hostdev__ float | operator() (const int offset) |
| Retrieves dither threshold for an offset within an 8^3 leaf nodes.
|
|
◆ DitherLUT()
Constructor with an optional scaling factor for the dithering.
◆ operator()()
Retrieves dither threshold for an offset within an 8^3 leaf nodes.
- Parameters
-
offset | into the lookup table of size 512 |