Export (0) Print
Expand All
abs
all
any
cos
ddx
ddy
dot
dst
exp
fma
lit
log
mad
max
min
mul
pow
rcp
sin
tan
Expand Minimize

asuint function

Reinterprets the bit pattern of a 64-bit value as two unsigned 32-bit integers.

Syntax

void asuint(
  in   double value,
  out  uint lowbits,
  out  uint highbits
);

Parameters

value [in]

Type: double

The input value.

lowbits [out]

Type: uint

The low 32-bit pattern of value.

highbits [out]

Type: uint

The high 32-bit pattern of value.

Return value

This function does not return a value.

Remarks

This function is an alternate version of the asuint intrinsic that has been available in earlier shader models, and was introduced for Shader Model 5. The original function (recognized in the HLSL compiler by its different signature) remains available to Shader Model 5.

Minimum Shader Model

This function is supported in the following shader models.

Shader ModelSupported
Shader Model 5 and higher shader modelsyes

 

This function is supported in the following types of shaders:

VertexHullDomainGeometryPixelCompute
xxxxxx

 

See also

asuint (DirectX HLSL)
Shader Model 5

 

 

Community Additions

ADD
Show:
© 2014 Microsoft