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 Model | Supported |
|---|---|
| Shader Model 5 and higher shader models | yes |
This function is supported in the following types of shaders:
| Vertex | Hull | Domain | Geometry | Pixel | Compute |
|---|---|---|---|---|---|
| x | x | x | x | x | x |
See also
Send comments about this topic to Microsoft
Build date: 3/5/2013
