0.9.9 API documentation
|
Include <glm/gtx/texture.hpp> to use the features of this extension. More...
Functions | |
template<length_t L, typename T , qualifier Q> | |
T | levels (vec< L, T, Q > const &Extent) |
Compute the number of mipmaps levels necessary to create a mipmap complete texture. More... | |
Include <glm/gtx/texture.hpp> to use the features of this extension.
Wrapping mode of texture coordinates.
T glm::levels | ( | vec< L, T, Q > const & | Extent | ) |
Compute the number of mipmaps levels necessary to create a mipmap complete texture.
Extent | Extent of the texture base level mipmap |
L | Integer between 1 and 4 included that qualify the dimension of the vector |
T | Floating-point or signed integer scalar types |
Q | Value from qualifier enum |