0.6.1
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
D:
Source
G-Truc
gli
gli
core
levels.hpp
Go to the documentation of this file.
1
32
#pragma once
33
34
#include "
type.hpp
"
35
36
namespace
gli
37
{
49
template
<
template
<
typename
, glm::precision>
class
dimType>
50
size_t
levels
(dimType<size_t, glm::defaultp>
const
& Dimensions);
51
62
size_t
levels
(
size_t
Dimension);
63
}
//namespace gli
64
65
#include "levels.inl"
type.hpp
OpenGL Image (gli.g-truc.net)
gli
Definition:
addressing.hpp:33
gli::levels
size_t levels(dimType< size_t, glm::defaultp > const &Dimensions)
Compute the number of mipmaps levels necessary to create a mipmap complete texture.
Generated by
1.8.10