Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 972 Bytes

dst.md

File metadata and controls

76 lines (48 loc) · 972 Bytes
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
dst function
Calculates a distance vector. | dst function
24d22743-5867-49db-8d0a-55cc3625c947
dst function HLSL
apiref
dst
NA
reference
05/31/2018

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