1.0.0 API documentation
|
Allow to perform bit operations on integer values. More...
Functions | |
template<typename genIUType > | |
GLM_FUNC_DECL genIUType | log2 (genIUType x) |
Returns the log2 of x for integer values. More... | |
Allow to perform bit operations on integer values.
Include <glm/gtc/integer.hpp> to use the features of this extension.
GLM_FUNC_DECL genIUType glm::log2 | ( | genIUType | x | ) |
Returns the log2 of x for integer values.
Useful to compute mipmap count from the texture size.