D3DXFLOAT16 延伸模組

注意

D3DX 公用程式程式庫已被取代。 建議您改用 DirectXMath

提供 D3DXFLOAT16 結構的運算子多載和類型轉換。

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;

衍生類型:*LPD3DXFLOAT16

成員

如需結構成員的詳細資訊,請參閱 D3DXFLOAT16。

備註

此結構的運算子多載和類型轉換是在 d3dx9math.inl 中實作。

規格需求

需求
標頭
D3dx9math.h

另請參閱

D3DX 結構