D3DXFLOAT16 Extensions
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXFLOAT16 Extensions Structure


Supplies operator overloads and type casts for D3DXFLOAT16 structures.

Syntax

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;

Members

For more information about structure members, refer to D3DXFLOAT16.

Remarks

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

Structure Information

Headerd3dx9math.h
Minimum operating systems Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.