D3DXFLOAT16 Extensions

Note

The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.

Supplies operator overloads and type casts for D3DXFLOAT16 structures.

typedef struct D3DXFLOAT16
{
#ifdef __cplusplus
public:
    D3DXFLOAT16() {};
    D3DXFLOAT16( FLOAT );
    D3DXFLOAT16( CONST D3DXFLOAT16& );

    // casting
    operator FLOAT ();

    // binary operators
    BOOL operator == ( CONST D3DXFLOAT16& ) const;
    BOOL operator != ( CONST D3DXFLOAT16& ) const;

protected:
#endif //__cplusplus
    WORD value;
} D3DXFLOAT16, *LPD3DXFLOAT16;

Derived types: *LPD3DXFLOAT16

Members

For more information about structure members, refer to D3DXFLOAT16.

Remarks

Operator overloads and type casts for this structure are implemented in d3dx9math.inl.

Requirements

Requirement Value
Header
D3dx9math.h

See also

D3DX Structures