HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::io::HalfWriter< IsReal, T > Struct Template Reference

#include <Compression.h>

Detailed Description

template<bool IsReal, typename T>
struct openvdb::OPENVDB_VERSION_NAME::io::HalfWriter< IsReal, T >

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.

Definition at line 284 of file Compression.h.


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