ddx_fine function

Computes a high precision partial derivative with respect to the screen-space x-coordinate.


float ddx_fine(
  in float value


value [in]

Type: float

The input value.

Return value

Type: float

The high precision partial derivative of value.


The following overloaded versions are also available:

float2 ddx_fine(float2 value);
float3 ddx_fine(float3 value);
float4 ddx_fine(float4 value);

Minimum Shader Model

This function is supported in the following shader models.

Shader Model Supported
Shader Model 5 and higher shader models yes


This function is supported in the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute


See also

Intrinsic Functions

Shader Model 5