OpenVDB 11.0.0

Loading...
Searching...
No Matches
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::v11_0::io::RealToHalf< T >

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

## Member Typedef Documentation

## ◆ HalfT

template<typename T >

using HalfT = T

## Member Enumeration Documentation

## ◆ anonymous enum

template<typename T >

anonymous enum

Enumerator
isReal |

## Member Function Documentation

## ◆ convert()

template<typename T >

static HalfT convert | ( | const T & | val | ) |
| inline static