0.9.6
|
Functions | |
template<typename genIUType > | |
GLM_FUNC_DECL genIUType | log2 (genIUType x) |
Allow to perform bit operations on integer values.
<glm/gtc/integer.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL genIUType glm::log2 | ( | genIUType | x | ) |
Returns the log2 of x.
Can be reliably using to compute mipmap count from the texture size. From GLM_GTC_integer extension.