Diligent Engine API Reference: Diligent::VALUE_TYPE2CType< VT_FLOAT16 > Struct Template Reference

Diligent Engine API Reference

List of all members
Diligent::VALUE_TYPE2CType< VT_FLOAT16 > Struct Template Reference

VALUE_TYPE2CType<> template specialization for half-precision 16-bit floating-point value type. More...

## Detailed Description

### template<>
struct Diligent::VALUE_TYPE2CType< VT_FLOAT16 >

VALUE_TYPE2CType<> template specialization for half-precision 16-bit floating-point value type.

Usage example:

VALUE_TYPE2CType<VT_FLOAT16>::CType MyFloat16Var;

Note
  16-bit floating-point values have no corresponding C++ type and are translated to Uint16