Function spirv_std::arch::ddx_fine_vector

source ·
pub fn ddx_fine_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 X coordinate. Uses local differencing based on the value of component for the current fragment and its immediate neighbor(s).