OpenVDB: RealToHalf< T > Struct Template Reference

OpenVDB 5.2.0

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 <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::v5_2::io::RealToHalf< T >

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

## Member Typedef Documentation

## ◆ HalfT

using HalfT = T

## Member Enumeration Documentation

## ◆ anonymous enum

anonymous enum

Enumerator
isReal |

## Member Function Documentation

## ◆ convert()

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

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

- Compression.h