D3D11_FEATURE_DATA_DOUBLES Structure

Describes double data type support in the current graphics driver.

Syntax

typedef struct D3D11_FEATURE_DATA_DOUBLES {
  BOOL DoublePrecisionFloatShaderOps;
} D3D11_FEATURE_DATA_DOUBLES;

Mitglieder

  • DoublePrecisionFloatShaderOps
    Typ: BOOL

    Specifies whether double types are allowed. If TRUE, double types are allowed; otherwise FALSE. The runtime must set DoublePrecisionFloatShaderOps to TRUE in order for you to use any HLSL shader that is compiled with a double type.

Hinweise

If the runtime sets DoublePrecisionFloatShaderOps to TRUE, the hardware and driver support the following Shader Model 5 instructions:

Hinweis  If DoublePrecisionFloatShaderOps is TRUE, the hardware and driver do not necessarily support double-precision division.

Anforderungen

Header

D3D11.h

Siehe auch

Core Structures