abs
all
any
cos
ddx
ddy
dot
dst
exp
fma
lit
log
mad
max
min
mul
pow
rcp
sin
tan
Expand Minimize
This topic has not yet been rated - Rate this topic

reversebits function

Reverses the order of the bits, per component.

Syntax

uint reversebits(
  in  uint value
);

Parameters

value [in]

Type: uint

The input value.

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

 

 

Send comments about this topic to Microsoft

Build date: 3/5/2013

Community Additions

ADD
© 2013 Microsoft. All rights reserved.