Windows Dev Center

abs
all
any
cos
ddx
ddy
dot
dst
exp
fma
lit
log
mad
max
min
mul
pow
rcp
sin
tan
Expand Minimize

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)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft