|
MyGUI
3.4.0
|
#include <MyGUI_Bitwise.h>
Static Public Member Functions | |
| template<typename Type > | |
| static Type | firstPO2From (Type _value) |
| template<typename Type > | |
| static bool | isPO2 (Type _value) |
| template<typename Type > | |
| static size_t | getBitShift (Type _mask) |
Definition at line 15 of file MyGUI_Bitwise.h.
|
inlinestatic |
Returns the closest power-of-two number greater or equal to value.
Definition at line 21 of file MyGUI_Bitwise.h.
|
inlinestatic |
Returns the number of bits a pattern must be shifted right by to remove right-hand zeros.
Definition at line 44 of file MyGUI_Bitwise.h.
|
inlinestatic |
Determines whether the number is power-of-two or not.
Definition at line 35 of file MyGUI_Bitwise.h.
1.8.18