7#ifndef PXR_BASE_GF_HALF_H
8#define PXR_BASE_GF_HALF_H
17#include "pxr/base/gf/ilmbase_half.h"
18#include "pxr/base/gf/ilmbase_halfLimits.h"
19#include "pxr/base/gf/traits.h"
21PXR_NAMESPACE_OPEN_SCOPE
28 inline size_t hash_value(
const half h) {
return h.bits(); }
30 size_t hash_value(
float) =
delete;
35 public std::integral_constant<bool, true>{};
37PXR_NAMESPACE_CLOSE_SCOPE
pxr_half::half GfHalf
A 16-bit floating point data type.
size_t hash_value(const half h)
Overload hash_value for half.
A metafunction which is equivalent to std::is_floating_point but allows for additional specialization...