spirv_std::arch

Function ddy

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

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