spirv_std::arch

Function ddy_fine

Source
pub fn ddy_fine<F: Float>(component: F) -> F
Expand description

Returns the partial derivative of component with respect to the window’s Y coordinate. Uses local differencing based on the value of component for the current fragment and its immediate neighbor(s).