GraphicsAPI_2020C
GraphicsII_2020C
include
glm
gtx
texture.hpp
Go to the documentation of this file.
1
13
#pragma once
14
15
// Dependency:
16
#include "../glm.hpp"
17
#include "../gtc/integer.hpp"
18
#include "../gtx/component_wise.hpp"
19
20
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21
# ifndef GLM_ENABLE_EXPERIMENTAL
22
# pragma message("GLM: GLM_GTX_texture is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it.")
23
# else
24
# pragma message("GLM: GLM_GTX_texture extension included")
25
# endif
26
#endif
27
28
namespace
glm
29
{
32
39
template
<length_t L,
typename
T, qualifier Q>
40
T
levels
(vec<L, T, Q>
const
& Extent);
41
43
}
// namespace glm
44
45
#include "texture.inl"
46
glm
Core features
Definition:
common.hpp:20
glm::levels
T levels(vec< L, T, Q > const &Extent)
Compute the number of mipmaps levels necessary to create a mipmap complete texture.
Definition:
texture.inl:6
Generated by
1.8.13