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

RealToHalf and its specializations define a mapping from floating-point data types to analogous half float types. More...

#include <Compression.h>

Public Types

enum  { isReal = false }
 
using HalfT = T
 

Static Public Member Functions

static HalfT convert (const T &val)
 

Detailed Description

template<typename T>
struct openvdb::OPENVDB_VERSION_NAME::io::RealToHalf< T >

RealToHalf and its specializations define a mapping from floating-point data types to analogous half float types.

Definition at line 173 of file Compression.h.

Member Typedef Documentation

template<typename T >
using openvdb::OPENVDB_VERSION_NAME::io::RealToHalf< T >::HalfT = T

Definition at line 175 of file Compression.h.

Member Enumeration Documentation

template<typename T >
anonymous enum
Enumerator
isReal 

Definition at line 174 of file Compression.h.

Member Function Documentation

template<typename T >
static HalfT openvdb::OPENVDB_VERSION_NAME::io::RealToHalf< T >::convert ( const T &  val)
inlinestatic

Definition at line 176 of file Compression.h.


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