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

#include <Compression.h>

Detailed Description

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

HalfReader wraps a static function, read(), that is analogous to readData(), above, except that it is partially specialized for floating-point types in order to promote 16-bit half float values to full float. A wrapper class is required because only classes, not functions, can be partially specialized.

Definition at line 292 of file Compression.h.


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