| 0.8.2 API documentation

- Main Page
- Namespaces
- Classes
- Files

- File List

Namespaces | Functions
clear.hpp File Reference

Include to copy textures or a subset of either textures. More...

Go to the source code of this file.

## Namespaces
| gli
| Namespace where all the classes and functions provided by GLI are exposed.

## Functions
template<typename texture_type >
void | clear (texture_type &Texture)
| Clear a complete texture.
template<typename texture_type , typename gen_type >
void | clear (texture_type &Texture, gen_type const &BlockData)
| Clear a complete texture.
template<typename texture_type , typename gen_type >
void | clear (texture_type &Texture, size_t Layer, size_t Face, size_t Level, gen_type const &BlockData)
| Clear a specific image of a texture.

## Detailed Description

Include to copy textures or a subset of either textures.

These operations are performed without memory allocations.

Definition in file clear.hpp.