0.8.2 API documentation
Public Member Functions | List of all members
sampler_cube_array< T, P > Class Template Reference

Cube map array texture sampler. More...

Inheritance diagram for sampler_cube_array< T, P >:
sampler

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 BaseLayer, size_type MaxLayer, size_type BaseFace, size_type MaxFace, 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 layer, size_type Face, size_type Level) const
 Fetch a texel from the sampler texture.
 
void texel_write (extent_type const &TexelCoord, size_type layer, size_type Face, size_type Level, texel_type const &Texel)
 Write a texel in the sampler texture.
 
texel_type texture_lod (normalized_type const &SampleCoord, size_type layer, size_type Face, level_type Level) const
 Sample the sampler texture at a specific level.
 

Detailed Description

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

Cube map array texture sampler.

Template Parameters
TSampler can fetch, write and interpret any texture format but will expose and process the data through type T conversions.
PPrecision in term of ULPs

Definition at line 17 of file sampler_cube_array.hpp.