GLM_GTX_bit extension: Allow to perform bit operations on integer values. More...
Functions | |
template<typename genType > | |
genType | bitRevert (genType const &value) |
template<typename genType > | |
genType | bitRotateLeft (genType const &In, std::size_t Shift) |
template<typename genType > | |
genType | bitRotateRight (genType const &In, std::size_t Shift) |
template<typename genIUType , typename sizeType > | |
genIUType | extractField (genIUType const &v, sizeType const &first, sizeType const &count) |
template<typename genType > | |
int | highestBit (genType const &value) |
template<typename genType > | |
genType | highestBitValue (genType const &value) |
template<typename genType > | |
bool | isPowerOfTwo (genType const &value) |
template<typename genType > | |
int | lowestBit (genType const &value) |
template<typename genType > | |
genType | powerOfTwoAbove (genType const &value) |
template<typename genType > | |
genType | powerOfTwoBelow (genType const &value) |
template<typename genType > | |
genType | powerOfTwoNearest (genType const &value) |
GLM_GTX_bit extension: Allow to perform bit operations on integer values.