dst function

Calculates a distance vector.

Syntax

fVector dst(
  in fVector src0,
  in fVector src1
);

Parameters

src0 [in]

Type: fVector

The first vector.

src1 [in]

Type: fVector

The second vector.

Return value

Type: fVector

The computed distance vector.

Remarks

This intrinsic function provides the same functionality as the Vertex Shader instruction dst.

See also

Intrinsic Functions