OpenVDB: HalfWriter< true, T > Struct Template Reference

OpenVDB 10.0.1

Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
HalfWriter< true, T > Struct Template Reference

Partial specialization for floating-point types. More...

`#include <openvdb/io/Compression.h>`

## Public Types
using | HalfT = typename RealToHalf< T >::HalfT

## Static Public Member Functions
static size_t | writeSize (const T *data, Index count, uint32_t compression)
static void | write (std::ostream &os, const T *data, Index count, uint32_t compression)

## Detailed Description

template<typename T>
struct openvdb::v10_0::io::HalfWriter< true, T >

Partial specialization for floating-point types.

## Member Typedef Documentation

## ◆ HalfT

template<typename T >

using HalfT = typename RealToHalf<T>::HalfT

## Member Function Documentation

## ◆ write()

template<typename T >

static void write | ( | std::ostream & | os,
|  | const T * | data,
|  | Index | count,
|  | uint32_t | compression
| ) |  |
| inlinestatic

## ◆ writeSize()

template<typename T >

static size_t writeSize | ( | const T * | data,
|  | Index | count,
|  | uint32_t | compression
| ) |  |
| inlinestatic