OpenVDB
12.0.0
|
#include <openvdb/io/Compression.h>
HalfWriter wraps a static function, write(), that is analogous to writeData(), above, except that it is partially specialized for floating-point types in order to quantize floating-point values to 16-bit half float. A wrapper class is required because only classes, not functions, can be partially specialized.