Bewerken

Delen via


D3DDDICAPS_SHADER_MIN_PRECISION_SUPPORT structure (d3dumddi.h)

Describes precision support options for shaders in the user-mode display driver.

Syntax

typedef struct D3DDDICAPS_SHADER_MIN_PRECISION_SUPPORT {
  UINT VertexShaderMinPrecision;
  UINT PixelShaderMinPrecision;
} D3DDDICAPS_SHADER_MIN_PRECISION_SUPPORT;

Members

VertexShaderMinPrecision

A combination of values of type D3DDDICAPS_SHADER_MIN_PRECISION that are combined by using a bitwise OR operation. The resulting value specifies minimum precision levels that the driver supports for the vertex shader. A value of zero indicates that the driver supports only the default precision for the shader model, and not a lower precision.

PixelShaderMinPrecision

A combination of values of type D3DDDICAPS_SHADER_MIN_PRECISION that are combined by using a bitwise OR operation. The resulting value specifies minimum precision levels that the driver supports for the pixel shader. A value of zero indicates that the driver supports only the default precision for the shader model, and not a lower precision.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDICAPS_SHADER_MIN_PRECISION