Function spirv_std::arch::ddx_vector
source · pub fn ddx_vector<F: Float, VECTOR: Vector<F, LENGTH>, const LENGTH: usize>(
component: VECTOR
) -> VECTORExpand 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.