OpenVDB  9.0.1
Public Types | Static Public Member Functions | List of all members
RealToHalf< T > Struct Template Reference

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

#include <openvdb/io/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::v9_0::io::RealToHalf< T >

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

Member Typedef Documentation

using HalfT = T

Member Enumeration Documentation

anonymous enum
Enumerator
isReal 

Member Function Documentation

static HalfT convert ( const T &  val)
inlinestatic