| 0.8.0 API documentation

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

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
sampler3d< T, P > Class Template Reference

3d texture sampler More...

Inheritance diagram for sampler3d< T, P >:

## Public Member Functions
void | clear (texel_type const &Texel)
| Clear the sampler texture with a uniform texel.
void | generate_mipmaps (filter Minification)
| Generate all the mipmaps of the sampler texture from the texture base level.
void | generate_mipmaps (size_type BaseLevel, size_type MaxLevel, filter Minification)
| Generate the mipmaps of the sampler texture from the texture base level to the texture max level included.
texture_type const & | operator() () const
| Access the sampler texture object.
texel_type | texel_fetch (extent_type const &TexelCoord, size_type const &Level) const
| Fetch a texel from the sampler texture.
void | texel_write (extent_type const &TexelCoord, size_type const &Level, texel_type const &Texel)
| Write a texel in the sampler texture.
texel_type | texture_lod (normalized_type const &SampleCoord, level_type Level) const
| Sample the sampler texture at a specific level.

## Detailed Description

### template<typename T, precision P = defaultp>
class gli::sampler3d< T, P >

3d texture sampler

Template Parameters

  T | Sampler can fetch, write and interpret any texture format but will expose and process the data through type T conversions.
  P | Precision in term of ULPs

Definition at line 17 of file sampler3d.hpp.