spirv_std::arch

Function ddy_vector

Source
pub fn ddy_vector<F: Float, VECTOR: Vector<F, LENGTH>, const LENGTH: usize>(
    component: VECTOR,
) -> VECTOR
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.