| 0.8.0 API documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List

Namespaces | Functions
index.hpp File Reference

Include to compute offset in a texture storage memory. 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 T , precision P>
size_t | linear_index (tvec1< T, P > const &Coord, tvec1< T, P > const &Dimensions)
| Compute an offset from the beginning of a storage to a specific texel stored in linear order.
template<typename T , precision P>
size_t | linear_index (tvec2< T, P > const &Coord, tvec2< T, P > const &Dimensions)
| Compute an offset from the beginning of a storage to a specific texel stored in linear order.
template<typename T , precision P>
size_t | linear_index (tvec3< T, P > const &Coord, tvec3< T, P > const &Dimensions)
| Compute an offset from the beginning of a storage to a specific texel stored in linear order.

## Detailed Description

Include to compute offset in a texture storage memory.

Definition in file index.hpp.