HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nanovdb::DitherLUT Class Reference

#include <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...
 

Detailed Description

Definition at line 19 of file DitherLUT.h.

Constructor & Destructor Documentation

__hostdev__ nanovdb::DitherLUT::DitherLUT ( bool  enable = true)
inline

Constructor with an optional scaling factor for the dithering.

Definition at line 24 of file DitherLUT.h.

Member Function Documentation

__hostdev__ float nanovdb::DitherLUT::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

Definition at line 29 of file DitherLUT.h.


The documentation for this class was generated from the following file: