0.8.2 API documentation
Main Page
Namespaces
Classes
Files
File List
G:
Source
G-Truc
gli
gli
levels.hpp
Go to the documentation of this file.
1
4
#pragma once
5
6
#include "
type.hpp
"
7
8
namespace
gli
9
{
21
template
<
typename
T, precision P,
template
<
typename
, precision>
class
vecType>
22
T
levels
(vecType<T, P>
const
& Extent);
23
/*
33
size_t levels(size_t Extent);
34
44
int levels(int Extent);
45
*/
46
}
//namespace gli
47
48
#include "./core/levels.inl"
gli
Namespace where all the classes and functions provided by GLI are exposed.
Definition:
clear.hpp:6
gli::levels
T levels(vecType< T, P > const &Extent)
Compute the number of mipmaps levels necessary to create a mipmap complete texture.
type.hpp
Include to use basic GLI types.
Generated by
1.8.10