All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
half.h File Reference

This header serves to simply bring in the half float datatype and provide a hash_value function. More...

+ Include dependency graph for half.h:

Go to the source code of this file.

Typedefs

using GfHalf = pxr_half::half
 A 16-bit floating point data type. More...
 

Functions

template<typename Half >
std::enable_if< std::is_same
< Half, half >::value, size_t >
::type 
hash_value (const Half &h)
 Overload hash_value for half. More...
 
GfHalf GfDot (GfHalf a, GfHalf b)
 Returns the dot (inner) product of two vectors. More...
 

Detailed Description

This header serves to simply bring in the half float datatype and provide a hash_value function.

For documentation, of the half type, please see the half header in ilmbase_half.h.

Definition in file half.h.

Typedef Documentation

using GfHalf = pxr_half::half

A 16-bit floating point data type.

Definition at line 42 of file half.h.