gtx_bit Module Reference
Include < glm/gtx/bit.hpp > to use the features of this extension.
Allow to perform bit operations on integer values
Public Member Functions
-
GLM_FUNC_DECL genIUTypehighestBitValue (genIUType Value)
- See Also
-
GLM_FUNC_DECL genIUTypelowestBitValue (genIUType Value)
- See Also
-
GLM_FUNC_DECL vec< L, T, Q >highestBitValue (vec< L, T, Q > const &value)
Find the highest bit set to 1 in a integer variable and return its value.
- See Also
-
GLM_DEPRECATED GLM_FUNC_DECL genIUTypepowerOfTwoAbove (genIUType Value)
Return the power of two number which value is just higher the input value. Deprecated, use ceilPowerOfTwo from GTC_round instead
- See Also
- See Also
-
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q >powerOfTwoAbove (vec< L, T, Q > const &value)
Return the power of two number which value is just higher the input value. Deprecated, use ceilPowerOfTwo from GTC_round instead
- See Also
- See Also
-
GLM_DEPRECATED GLM_FUNC_DECL genIUTypepowerOfTwoBelow (genIUType Value)
Return the power of two number which value is just lower the input value. Deprecated, use floorPowerOfTwo from GTC_round instead
- See Also
- See Also
-
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q >powerOfTwoBelow (vec< L, T, Q > const &value)
Return the power of two number which value is just lower the input value. Deprecated, use floorPowerOfTwo from GTC_round instead
- See Also
- See Also
-
GLM_DEPRECATED GLM_FUNC_DECL genIUTypepowerOfTwoNearest (genIUType Value)
Return the power of two number which value is the closet to the input value. Deprecated, use roundPowerOfTwo from GTC_round instead
- See Also
- See Also
-
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q >powerOfTwoNearest (vec< L, T, Q > const &value)
Return the power of two number which value is the closet to the input value. Deprecated, use roundPowerOfTwo from GTC_round instead
- See Also
- See Also