0.8.2 API documentation
|
2d texture sampler More...
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. | |
2d texture sampler
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 sampler2d.hpp.