title | description | ms.assetid | keywords | topic_type | api_name | api_type | ms.topic | ms.date | api_location | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ddx_coarse function |
Computes a low precision partial derivative with respect to the screen-space x-coordinate. |
5719f45d-b2ae-4916-8f31-c2797b661814 |
|
|
|
|
reference |
05/31/2018 |
Computes a low precision partial derivative with respect to the screen-space x-coordinate.
float ddx_coarse(
in float value
);
-
value [in]
-
Type: float
The input value.
Type: float
The low precision partial derivative of value.
The following overloaded versions are also available:
float2 ddx_coarse(float2 value);
float3 ddx_coarse(float3 value);
float4 ddx_coarse(float4 value);
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 |
---|---|---|---|---|---|
x |