0.8.2 API documentation
load.hpp
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "texture.hpp"
7 
8 namespace gli
9 {
13  texture load(char const* Path);
14 
18  texture load(std::string const& Path);
19 
24  texture load(char const* Data, std::size_t Size);
25 }//namespace gli
26 
27 #include "./core/load.inl"
Include to use generic textures which can represent any texture target but they don't have target spe...
texture load(char const *Path)
Loads a texture storage_linear from file.
Namespace where all the classes and functions provided by GLI are exposed.
Definition: clear.hpp:6