This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules 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:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

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

Functions

size_t hash_value (const half h)
 Overload hash_value for half.
 
size_t hash_value (float)=delete
 

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

◆ GfHalf

using GfHalf = pxr_half::half

A 16-bit floating point data type.

Definition at line 24 of file half.h.

Function Documentation

◆ hash_value()

size_t hash_value ( const half  h)
inline

Overload hash_value for half.

Definition at line 28 of file half.h.