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

reversebits function

Reverses the order of the bits, per component.

Syntax

uint reversebits(
  in  uint value
);

Parameters

value [in]

Type: uint

The input value.

Return value

Type: uint

The input value, with the bit order reversed.

Remarks

The following overloaded versions are also available:


uint2 reversebits(uint2 value);
uint3 reversebits(uint3 value);
uint4 reversebits(uint4 value);

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

Shader Model 5

 

 

Community Additions

ADD
Show:
© 2014 Microsoft