Function spirv_std::arch::ddx

source ·
pub fn ddx<F: Float>(component: F) -> F
Expand description

Returns the partial derivative of component with respect to the window’s X coordinate. Returns the same result as either ddx_fine or ddx_coarse, selection of which one is dependent on external factors.