24 #ifndef PXR_BASE_GF_HALF_H 25 #define PXR_BASE_GF_HALF_H 34 #include "pxr/base/gf/ilmbase_half.h" 35 #include "pxr/base/gf/ilmbase_halfLimits.h" 36 #include "pxr/base/gf/traits.h" 38 PXR_NAMESPACE_OPEN_SCOPE
45 inline size_t hash_value(
const half h) {
return h.bits(); }
47 size_t hash_value(
float) =
delete;
52 public std::integral_constant<bool, true>{};
54 PXR_NAMESPACE_CLOSE_SCOPE
57 #endif // PXR_BASE_GF_HALF_H pxr_half::half GfHalf
A 16-bit floating point data type.
A metafunction which is equivalent to std::is_floating_point but allows for additional specialization...
size_t hash_value(const half h)
Overload hash_value for half.