Edit

asint function

Interprets the bit pattern of an input value as an integer. For more information about the asint intrinsic function, see asint (DirectX HLSL).

Syntax

int asint(
  in  value
);

Parameters

value [in]

The input value.

Return value

Type: int

The input interpreted as an integer.

See also

Intrinsic Functions (DirectX HLSL)